This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/14928] infer -d FOO from process("FOO").mark() probes
- From: "smakarov at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 08 Jan 2013 19:36:02 +0000
- Subject: [Bug translator/14928] infer -d FOO from process("FOO").mark() probes
- Auto-submitted: auto-generated
- References: <bug-14928-6586@http.sourceware.org/bugzilla/>
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.