Messages in this thread | | | Subject | Re: [PATCH] perf: remove sw events from multiplexing rotation list | From | Peter Zijlstra <> | Date | Thu, 06 Sep 2012 18:01:56 +0200 |
| |
On Thu, 2012-09-06 at 15:23 +0200, Stephane Eranian wrote: > Software events (sw,tracepoints,...) do not need to be > multiplexed. However, when using a SW event, the SW PMU > (TYPE_SOFTWARE, TYPE_TRACEPOINT) was added to the per-cpu > rotation_list. That list is used by perf_rotate_context() > to iterate over all the PMUs to rotate event lists and > multiplex. > > This is not needed for SW events. Doing this adds some > unnecessary overhead, so drop it by rejecting SW PMUs > in perf_pmu_rotate_start().
Thanks!
| |