Tony Jones <to...@suse.de> writes: > I don't believe there is current support to do this, but maybe I'm > overlooking something?
It may be possible in systemtap, but not in the builtin tracers yes. > > I'd like to be able to restrict the pmu (or filter results) to report > counting/sampling between two arbitrary code points, such as a tracepoint or > kprobe. > > I believe it will require core perf changes and was curious on peoples > thoughts? I'm not sure about messing with sampling (you can always filter that later). But able to collect PMU counter values are kprobes/tracepoints would be fairly useful yes. It shouldn't be that difficult to do. -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html