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

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Thu Jun 6 21:13:00 GMT 2019


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.


More information about the Systemtap mailing list