Re: [PATCH 0/3] tracing/perf: perf_trace_buf/perf_xxx hacks.

From: David Ahern
Date: Thu Jun 20 2013 - 14:35:37 EST


On 6/20/13 12:23 PM, Steven Rostedt wrote:

I ran this:

perf stat --repeat 100 -- perf bench sched pipe > /tmp/perf-bench-sched.{before, after}

You want to compare:
perf stat --repeat 100 -p 1 -- perf bench sched pipe

so that event is tagged to pid 1 and not the perf-bench workload.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/