* [Bug translator/15942] New: support abbreviated process.* probes with stap -x PID
@ 2013-09-10 20:26 fche at redhat dot com
2014-05-30 21:01 ` [Bug translator/15942] " ajakop at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2013-09-10 20:26 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=15942
Bug ID: 15942
Summary: support abbreviated process.* probes with stap -x PID
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
PR12427 introduced the ability to let a user abbreviate process
probes by inferring the path from the -c CMD argument. We can do
the same with -x PID, perhaps the following way:
- stap --no-use-server -e 'probe process.foo {}' -x PID
.... map to process("PATH") where PATH = readlink("/proc/PID/exe"),
in the same place as PR12427 (dwarf_builder::build)
- stap --use-server -e 'probe process.foo {}' -x PID
.... map to stap server_options "-c PATH" with same PATH
(IOW, pretend to the stap-server that the user typed -c PATH).
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug translator/15942] support abbreviated process.* probes with stap -x PID
2013-09-10 20:26 [Bug translator/15942] New: support abbreviated process.* probes with stap -x PID fche at redhat dot com
@ 2014-05-30 21:01 ` ajakop at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: ajakop at redhat dot com @ 2014-05-30 21:01 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=15942
ajakop at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ajakop at redhat dot com
Resolution|--- |FIXED
--- Comment #1 from ajakop at redhat dot com ---
commit 3db41960a35e0593a5f33ab0128d55d833603849
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-30 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10 20:26 [Bug translator/15942] New: support abbreviated process.* probes with stap -x PID fche at redhat dot com
2014-05-30 21:01 ` [Bug translator/15942] " ajakop 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).