-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Control: tag -1 +moreinfo
On Wed, 2017-03-01 at 13:53 +0100, Jack Henschel wrote: > after I set up systemtap, I ran the example command provided in the > documentation: > https://sourceware.org/systemtap/SystemTap_Beginners_Guide/using-systemtap.htm > l#testing > > stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' > > GCC (6) complains upon compiling the C source code into the kernel module that > it is missing C Headers: > > /tmp/stapHaiI5M/stap_a31ee9d9da16ac912b90eb18969508b5_1547_src.c:10:29: > fatal error: runtime_defines.h: No such file or directory > > #include "runtime_defines.h" That file is provided by the systemtap-common package, which is properly marked as a Depends for systemtap. Over here, with a custom built kernel (Linux 4.10), I am getting compilation errors, which are not relevant to the issue you've reported. But in my logs, runtime_defines.h is properly detected. I'll try to run the command on a Debian kernel to verify if it is broken or not. - -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAli2zIcACgkQpjpYo/Lh dWl7Eg//U23jiXQGAbybxlpgfn6GJA9OGuyAKHEqehvE/NBWrvHS6sSE/bU7nLBc YENuEyR/u5dtQCzrYleDZL+pLrWVw7RZVbrwXzcXMPPwEPP1MIEFrCw9aGfk+j1j OtDqAaUNkEfCLO4+Y7QLKKVbCWecjExHkY2SOF+p//Om2xOv1caWswytj7nqWspT tKfTWj6FREMDyg2uivQkyyWqgWhmCtZm8ngQfK+zh9lpkBSJBn9cxGGKOsQgG99c hthkWROMT+LxQJCV9JgBgfQcXeQvTgWgkaWKXSYFXUPTF4SJjORWEbhbQJh0ER8A wxVoFlY3LG2OTVb2Z2Qp9WoY/cAjEw+muQuUoWDKoE2E9zcVhFeA2b15h04lzugE la83E0Eqd9VwlluDRTajl+58PUgyARkiz6Sh3eE3CJqbnhAPZv6FX2qsOdWdMQ0q 6c+3OBo9uf26Q4is79o0mraqb/KQ0uULyjR2ItHlUVs+cwSl/HylcWYt9QbVjcep zLJzjXN03P8meKCp0TpHgjanLqyD/3ntSCXR2rAxBCHF8Qzxsimw2RXcv1DEAXhF vkfoOqLEnej5yVxtRhSYsDth+QJALpBfqgNEgvCmJqw1L0UOagPAQ7uoqcOQ/w9s ZhyhYAuVAdXZ2c0rP0PcadTDMaUsvxk5Pd1v7+ij5Vv9JyJL7d4= =2SEl -----END PGP SIGNATURE-----