fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #systemtap
hpt has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
khaled_ has quit [Quit: Konversation terminated!]
orivej has joined #systemtap
sscox has quit [Ping timeout: 240 seconds]
irker075 has quit [Quit: transmission timeout]
LW has joined #systemtap
<LW> hello
<LW> root@CyOS:/# stap -e 'probe syscall.open { printf("hello") }'
<LW> In file included from ./arch/x86/include/asm/asm-offsets.h:1:0,
<LW> from /tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.c:90:
<LW> from ./arch/x86/include/asm/syscall.h:19,
<LW> from /usr/local/share/systemtap/runtime/syscall.h:162,
<LW> ./include/generated/asm-offsets.h:37:0: error: "__NR_syscall_max" redefined [-Werror]
<LW> #define __NR_syscall_max 334 /* sizeof(syscalls_64) - 1 */
<LW>
<LW> In file included from /tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.c:43:0:
<LW> #define __NR_syscall_max 0xffff
<LW>
<LW> In file included from ./arch/x86/include/asm/asm-offsets.h:1:0,
<LW> from ./arch/x86/include/asm/syscall.h:19,
<LW> from /usr/local/share/systemtap/runtime/syscall.h:162,
<LW> from /tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.c:90:
<LW> ./include/generated/asm-offsets.h:39:0: error: "__NR_syscall_compat_max" redefined [-Werror]
<LW> #define __NR_syscall_compat_max 386 /* sizeof(syscalls_ia32) - 1 */
<LW>
<LW> In file included from /tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.c:43:0:
<LW> #define __NR_syscall_compat_max 0xffff
<LW>
<LW> cc1: all warnings being treated as errors
<LW> scripts/Makefile.build:303: recipe for target '/tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.o' failed
<LW> make[1]: *** [/tmp/stapFN3wVb/stap_da7a6af090e2e8de3ca4a48bb160a56d_64198_src.o] Error 1
<LW> Makefile:1550: recipe for target '_module_/tmp/stapFN3wVb' failed
<LW> make: *** [_module_/tmp/stapFN3wVb] Error 2
<LW> WARNING: kbuild exited with status: 2
<LW> Pass 4: compilation failed. [man error::pass4]
<LW> root@CyOS:/#
<LW> Who has encountered such a problem? How to solve it?
<LW> my host is ubuntu 18.04,but i build the kernel by myself, systemtap version is 4.2
<LW> kernel version is 4.19.163
hpt has quit [Ping timeout: 240 seconds]
fdalleau_away is now known as fdalleau
khaled has joined #systemtap
sscox has joined #systemtap
<fche> LW, are you able to try a more current version of stap ?