[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1355929642-28392-1-git-send-email-jolsa@redhat.com>
Date: Wed, 19 Dec 2012 16:07:19 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Namhyung Kim <namhyung@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: [RFC 0/3] perf tests: Adding precise event attribute test
hi,
as per issues with precise attribute [1], adding simple test to
catch it next time.
Patch 2 adds sysfs 'precise' attribute containing maximum value
for perf_event_attr::precise_ip.
Patch 3 adds simple test checking the attribute and creating cycle
events with all possible precise values.
I based this on revert (Patch 1) discussed in [1]. I'm not sure
this revert will tak place at the end, but I wanted to get some
feedback on the 'precise' attribute first.
Attached patches:
1/3 Revert "perf: Require exclude_guest to use PEBS - kernel side enforcement"
2/3 perf x86: Add precise sysfs attribute
3/3 perf tests: Add precise event attribute test
thanks,
jirka
[1] http://marc.info/?l=linux-kernel&m=135536724805356&w=2
Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
---
arch/x86/kernel/cpu/perf_event.c | 38 ++++++++++++++++++++++++--------------
tools/perf/Makefile | 1 +
tools/perf/tests/builtin-test.c | 4 ++++
tools/perf/tests/precise.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/perf/tests/tests.h | 1 +
5 files changed, 109 insertions(+), 14 deletions(-)
--
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