This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/18598] staprun markers don't exist
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 25 Jun 2015 17:42:06 +0000
- Subject: [Bug tapsets/18598] staprun markers don't exist
- Auto-submitted: auto-generated
- References: <bug-18598-6586 at http dot sourceware dot org/bugzilla/>
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.