* [Bug translator/11576] New: per-process perf events
@ 2010-05-07 17:10 fche at redhat dot com
0 siblings, 0 replies; only message in thread
From: fche at redhat dot com @ 2010-05-07 17:10 UTC (permalink / raw)
To: systemtap
In runtime/perf.c, it should be a straightforward thing to
detect that we're running in target-process mode (stap -c/-x),
and interpret that as a request to bind the perf.* events
only to that process. (One would pass a -1 cpu and a proper
pid number to perf_event_create_kernel_counter.)
OTOH, this could be an option at the probe point level, as in
probe process(NNN).perf.* ?
--
Summary: per-process perf events
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11576
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-06 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-07 17:10 [Bug translator/11576] New: per-process perf events fche 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).