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

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
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?

$ sudo readelf -n /usr/local/bin/staprun
[...]
Displaying notes found at file offset 0x0002ba98 with length 0x000001f4:
  Owner                 Data size       Description
  stapsdt              0x00000036       NT_STAPSDT (SystemTap probe
descriptors)
    Provider: staprun
    Name: remove__module
    Location: 0x000000000040856e, Base: 0x0000000000427358, Semaphore:
0x0000000000000000
    Arguments: 8@%rbx
  stapsdt              0x00000036       NT_STAPSDT (SystemTap probe
descriptors)
    Provider: staprun
    Name: insert__module
    Location: 0x000000000040aa18, Base: 0x0000000000427358, Semaphore:
0x0000000000000000
    Arguments: 8@%r12
[etc]

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