public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15586] New: Dyninst does not support probefunc()
@ 2013-06-05 18:58 swagiaal at redhat dot com
  2013-06-05 19:12 ` [Bug dyninst/15586] " jistone at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2013-06-05 18:58 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug dyninst/15586] Dyninst does not support probefunc()
  2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
@ 2013-06-05 19:12 ` jistone at redhat dot com
  2016-08-18 15:52 ` bugzilla at tecnocode dot co.uk
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jistone at redhat dot com @ 2013-06-05 19:12 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug dyninst/15586] Dyninst does not support probefunc()
  2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
  2013-06-05 19:12 ` [Bug dyninst/15586] " jistone at redhat dot com
@ 2016-08-18 15:52 ` bugzilla at tecnocode dot co.uk
  2016-08-18 15:54 ` bugzilla at tecnocode dot co.uk
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at tecnocode dot co.uk @ 2016-08-18 15:52 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug dyninst/15586] Dyninst does not support probefunc()
  2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
  2013-06-05 19:12 ` [Bug dyninst/15586] " jistone at redhat dot com
  2016-08-18 15:52 ` bugzilla at tecnocode dot co.uk
@ 2016-08-18 15:54 ` bugzilla at tecnocode dot co.uk
  2016-08-18 16:06 ` jistone at redhat dot com
  2020-06-16 21:12 ` scox at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at tecnocode dot co.uk @ 2016-08-18 15:54 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug dyninst/15586] Dyninst does not support probefunc()
  2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
                   ` (2 preceding siblings ...)
  2016-08-18 15:54 ` bugzilla at tecnocode dot co.uk
@ 2016-08-18 16:06 ` jistone at redhat dot com
  2020-06-16 21:12 ` scox at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jistone at redhat dot com @ 2016-08-18 16:06 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug dyninst/15586] Dyninst does not support probefunc()
  2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
                   ` (3 preceding siblings ...)
  2016-08-18 16:06 ` jistone at redhat dot com
@ 2020-06-16 21:12 ` scox at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: scox at redhat dot com @ 2020-06-16 21:12 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-16 21:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 18:58 [Bug dyninst/15586] New: Dyninst does not support probefunc() swagiaal at redhat dot com
2013-06-05 19:12 ` [Bug dyninst/15586] " jistone at redhat dot com
2016-08-18 15:52 ` bugzilla at tecnocode dot co.uk
2016-08-18 15:54 ` bugzilla at tecnocode dot co.uk
2016-08-18 16:06 ` jistone at redhat dot com
2020-06-16 21:12 ` scox at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).