[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EDD26B9.8070007@fb.com>
Date: Mon, 5 Dec 2011 12:16:57 -0800
From: Arun Sharma <asharma@...com>
To: Stephane Eranian <eranian@...gle.com>
CC: Peter Zijlstra <a.p.zijlstra@...llo.nl>, <mingo@...e.hu>,
William Cohen <wcohen@...hat.com>,
Vince Weaver <vince@...ter.net>, <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH 0/6] perf: x86 RDPMC and RDTSC support
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists