public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/14928] New: infer -d FOO from process("FOO").mark() probes
@ 2012-12-07 14:32 fche at redhat dot com
  2012-12-12 15:03 ` [Bug translator/14928] " humble.devassy at gmail dot com
  2013-01-08 19:36 ` smakarov at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2012-12-07 14:32 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 14928
           Summary: infer -d FOO from process("FOO").mark() probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


For a stap script that uses process.mark() probes to attach to sys/sdt.h sites,
no debuginfo is needed nor solicited.  However, if the probe handlers need
symbol/unwind info to do backtrace/symbol resolution, the translator won't
search for the (debuginfo) data that this requires.

We should implicitly -d PROGRAM  for any process("PROGRAM") probes listed in
the script, and probably also --ldd.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/14928] infer -d FOO from process("FOO").mark() probes
  2012-12-07 14:32 [Bug translator/14928] New: infer -d FOO from process("FOO").mark() probes fche at redhat dot com
@ 2012-12-12 15:03 ` humble.devassy at gmail dot com
  2013-01-08 19:36 ` smakarov at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: humble.devassy at gmail dot com @ 2012-12-12 15:03 UTC (permalink / raw)
  To: systemtap

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

Humble <humble.devassy at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |humble.devassy at gmail dot
                   |                            |com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug translator/14928] infer -d FOO from process("FOO").mark() probes
  2012-12-07 14:32 [Bug translator/14928] New: infer -d FOO from process("FOO").mark() probes fche at redhat dot com
  2012-12-12 15:03 ` [Bug translator/14928] " humble.devassy at gmail dot com
@ 2013-01-08 19:36 ` smakarov at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: smakarov at redhat dot com @ 2013-01-08 19:36 UTC (permalink / raw)
  To: systemtap

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

Serguei Makarov <smakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |smakarov at redhat dot com
         Resolution|                            |WORKSFORME

--- Comment #1 from Serguei Makarov <smakarov at redhat dot com> 2013-01-08 19:36:02 UTC ---
Commit 487bf4e2
(http://www.sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=487bf4e27343e78a8efb8078b06ff60545776b44)
seems to have added the requisite functionality.

Here I am testing the original script that exhibited the issue, running on
plain git HEAD:

$ (launch an instance of qemu-kvm)
$ ps -aux | grep kvm
(read off the pid of qemu-kvm)
$ stap -e 'probe qemu.kvm.bdrv_*, qemu.kvm.virtio_blk_* {printf ("%s(%s)\n",
probefunc(), $$parms) }' -x (pid of qemu-kvm)
...
bdrv_aio_readv($arg1=0x7f0c8ffaf110 $arg2=0x8ef508 $arg3=0x8
$arg4=0x7f0c90e6e100)
bdrv_aio_readv($arg1=0x7f0c8ffafa60 $arg2=0x8ef508 $arg3=0x8
$arg4=0x7f0c90e6e100)
pci_map_option_rom($arg1=0x7f0c90c96100 $arg2=0x0)
pci_map_option_rom($arg1=0x7f0c90c96100 $arg2=0x0)
...

Here the probefunc() call in the qemu tapset correctly gets the name of the
relevant function.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2013-01-08 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-07 14:32 [Bug translator/14928] New: infer -d FOO from process("FOO").mark() probes fche at redhat dot com
2012-12-12 15:03 ` [Bug translator/14928] " humble.devassy at gmail dot com
2013-01-08 19:36 ` smakarov 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).