This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bpf/24639] "next" statement not recognized by stap bpf backend


https://sourceware.org/bugzilla/show_bug.cgi?id=24639

--- Comment #2 from William Cohen <wcohen at redhat dot com> ---
The bpf back is recognizing the next statement in probes, but the tests fail:

$ ../install/bin/stap --bpf testsuite/systemtap.bpf/bpf_tests/next.stp 
BEGIN
END FAIL

Looks like there is a problem with if statements code generation:

$ ../install/bin/stap --bpf -e 'global a, b; probe init {a=10; b=10} probe
oneshot{if (a!=b) printf("!=\n") else printf("==\n")}'
==

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]