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