This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11576] New: per-process perf events
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 May 2010 19:01:50 -0000
- Subject: [Bug translator/11576] New: per-process perf events
- Reply-to: sourceware-bugzilla at sourceware dot org
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.