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 translator/18001] Using sysname(), caller(), or callers(n) causes a gcc internal error


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

--- Comment #1 from curzonj at gmail dot com ---
I was wrong, about backtrace also causing a compile error. But here is some
more info.

This works:

stap -e 'probe kernel.function("dev_hold") { printf("%x", caller_addr());
exit() }'

But this fails:

stap -e 'probe kernel.function("dev_hold") { printf("%s",
symname(caller_addr())); exit() }'

-- 
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]