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 tapsets/18598] staprun markers don't exist


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

--- Comment #2 from David Smith <dsmith at redhat dot com> ---
(In reply to Josh Stone from comment #1)
> The more direct way to check existence is "readelf -n", and this is
> revealing:
> 
> $ readelf -n /usr/local/bin/staprun
> readelf: Error: Input file '/usr/local/bin/staprun' is not readable.
> 
> That's because staprun has mode 4110 (suid|xusr|xgrp).  Nobody has read
> permission, which effectively means only root can read it.
> 
> Although you wrote a '#' before your commands, which usually indicates a
> root prompt... Is that so, or were you running as a user?

Ah, that was definitely it. With sudo:

====
# sudo stap -l 'process("staprun").mark("*")' 
process("/usr/bin/staprun").mark("insert__module")
process("/usr/bin/staprun").mark("remove__module")
process("/usr/bin/staprun").mark("send__ctlmsg")
process("/usr/bin/staprun").mark("stap_system__complete")
process("/usr/bin/staprun").mark("stap_system__spawn")
process("/usr/bin/staprun").mark("stap_system__start")
====

I'll still write a buildok test case for this tapset.

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