Comment # 3 on bug 1232536 from Anthony Iliopoulos
(In reply to Petr Vorel from comment #2)

> Well, yes it works when you run the single command. But if you run 2
> commands below (as the test does) it fails:

Not sure what you mean "2 commands", the openat probe listing followed by
bashreadline? Which test is that?

> # bpftrace -l "*openat"; echo $?
> kfunc:vmlinux:__ia32_compat_sys_openat
> kfunc:vmlinux:__ia32_sys_openat
> kfunc:vmlinux:__x64_sys_openat
> kfunc:vmlinux:io_openat
> kfunc:vmlinux:path_openat
> kprobe:__ia32_compat_sys_openat
> kprobe:__ia32_sys_openat
> kprobe:__x64_sys_openat
> kprobe:io_openat
> kprobe:path_openat
> tracepoint:syscalls:sys_enter_openat
> tracepoint:syscalls:sys_exit_openat
> 0
> 
> # echo -e "\ninterval:s:5 { exit(); }" | cat
> /usr/share/bpftrace/tools/bashreadline.bt - | bpftrace -; echo $?
> Attaching 3 probes...
> ERROR: Could not resolve symbol: /bin/bash:readline, cannot attach probe.
> 255

As I mentioned in https://bugzilla.suse.com/show_bug.cgi?id=1224403#c6
bahsreadline.bt has a different issue, since it has not been brought
up to date. Has nothing to do with what you run before that.

> What is the problem with bpftrace -l "*openat"?

I don't see any problem with that, can you be more specific?

Also, why are we mixing those two separate script issues within
and across the two different bugs? You opened this one for swapin.bt
specifically, which has been fixed upstream.


You are receiving this mail because: