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/15866] New: on rawhide, the 'signal.pending' and 'signal.pending.return' probe aliases are broken


http://sourceware.org/bugzilla/show_bug.cgi?id=15866

            Bug ID: 15866
           Summary: on rawhide, the 'signal.pending' and
                    'signal.pending.return' probe aliases are broken
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

On rawhide (3.11.0-0.rc3.git1.1.fc20.x86_64), the 'signal.pending' and
'signal.pending.return' probe aliases are broken

====
# stap -p4 -e 'probe signal.pending { printf("%p, %d\n", sigset_add,
sigset_size) }'
semantic error: not accessible at this address [man error::dwarf]
(0xffffffff8108f56b, dieoffset: 0x9e2cf7): identifier '$set' at
/usr/local/share/systemtap/tapset/linux/signal.stp:606:16
        source:     sigset_add=$set
                               ^

semantic error: not accessible at this address [man error::dwarf]
(0xffffffff8108f56b, dieoffset: 0x9e2cee): identifier '$sigsetsize' at :607:17
        source:     sigset_size=$sigsetsize
                                ^

Pass 2: analysis failed.  [man error::pass2]
# stap -p4 -e 'probe signal.pending.return {}'
WARNING: cannot probe .return of 1 inlined functions  do_sigpending
semantic error: while resolving probe point: identifier 'kernel' at
/usr/local/share/systemtap/tapset/linux/signal.stp:615:31
        source: probe signal.pending.return =
kernel.function("do_sigpending").return
                                              ^

semantic error: no match (similar functions: do_sigpending, SyS_sigpending,
sys_sigpending, SYSC_sigpending, init_sigpending)
semantic error: while resolving probe point: identifier 'signal' at <input>:1:7
        source: probe signal.pending.return {}
                      ^

semantic error: no match
Pass 2: analysis failed.  [man error::pass2]
====

Both errors happen because the kernel function 'do_sigpending' is always
inlined on this rawhide kernel, which means systemtap has trouble finding its
arguments and a .return probe point doesn't exist.

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