[Bug dyninst/15586] New: Dyninst does not support probefunc()

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] New: Dyninst does not support probefunc()

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=15586

            Bug ID: 15586
           Summary: Dyninst does not support probefunc()
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
          Assignee: systemtap at sourceware dot org
          Reporter: swagiaal at redhat dot com

running something like:

stap --runtime=dyninst  -c './example' -e 'probe
process.function("bar").call{log(probefunc())}'
semantic error: unresolved arity-0 function: identifier 'probefunc' at
<input>:1:40
        source: probe process.function("bar").call{log(probefunc())}
                                                       ^

Pass 2: analysis failed.  [man error::pass2]

This of course works:
stap  -c './example' -e 'probe process.function("bar").call{log(probefunc())}'
bar

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] Dyninst does not support probefunc()

glaubitz at physik dot fu-berlin.de
http://sourceware.org/bugzilla/show_bug.cgi?id=15586

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com
         Depends on|                            |14703

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] Dyninst does not support probefunc()

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15586

Philip Withnall <bugzilla at tecnocode dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at tecnocode dot co.uk

--- Comment #1 from Philip Withnall <bugzilla at tecnocode dot co.uk> ---
I suspect this is essentially bug #16795.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] Dyninst does not support probefunc()

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15586

--- Comment #2 from Philip Withnall <bugzilla at tecnocode dot co.uk> ---
(In reply to Philip Withnall from comment #1)
> I suspect this is essentially bug #16795.

Er, I meant bug #14703. Copy–paste error, sorry.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] Dyninst does not support probefunc()

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15586

--- Comment #3 from Josh Stone <jistone at redhat dot com> ---
(In reply to Philip Withnall from comment #2)
> Er, I meant bug #14703. Copy–paste error, sorry.

Yeah, probefunc() dynamically maps the IP to symbols.  That's more generally
useful for probes which aren't tied to specific code locations, like timers.

You should be able to use ppfunc() though, which pulls the function name out of
the probe's own location string.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug dyninst/15586] Dyninst does not support probefunc()

Sourceware - systemtap mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=15586

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 CC|                            |scox at redhat dot com

--- Comment #4 from Stan Cox <scox at redhat dot com> ---
"The dyninst runtime currently lacks any symbol resolution or backtrace
functions."

*** This bug has been marked as a duplicate of bug 14703 ***

--
You are receiving this mail because:
You are the assignee for the bug.