[Bug translator/25549] Systemtap unable to find many probe points available in code compiled with LTO enable

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu May 7 03:26:02 GMT 2020


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

--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
I cannot replicate the issue. Using g++ (GCC) 10.0.1 20200430 (Red Hat
10.0.1-0.13) the example from Comment #1 seems to work as intended, even when
compiled with LTO:

$ g++ -o pr25549 -g -O2 -flto pr25549.cxx
$ stap -L 'process("./pr25549").statement("main@*:*")'
process("/opt/home/mark/systemtap/pr25549").statement("main@/home/mark/systemtap/pr25549.cxx:4")
$argc:int $argv:char**
process("/opt/home/mark/systemtap/pr25549").statement("main@/home/mark/systemtap/pr25549.cxx:6")
$argc:int $argv:char**

Could someone attach a pr25549 binary which fails?

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


More information about the Systemtap mailing list