Re: [RFC][PATCH 0/6] perf: x86 RDPMC and RDTSC support
From: Arun Sharma
Date: Mon Dec 05 2011 - 15:17:09 EST
On 12/2/11 2:22 PM, Stephane Eranian wrote:
Have you tried with inheritance disabled?
I don't remember if perf stat has it enabled buy default.
Disabling inheritance using the -i switch as in:
(for i in `seq 1 10`; do numactl --cpunodebind 1 perf stat -i -e
instructions ./lat_ctx -P1 -s32k 4; done)
shows numbers closer to baseline, since the threads used for
benchmarking are not counting events.
This suggests that:
jump_label_dec(&perf_task_events);
itself doesn't hurt much.
-Arun
--
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/