]> Pileus Git - ~andy/linux/commit
perf test: Add automated tests for pmu sysfs translated events
authorJiri Olsa <jolsa@redhat.com>
Wed, 10 Oct 2012 12:53:18 +0000 (14:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:41:27 +0000 (10:41 +0200)
commit3f3a20648797c3ff49c6ebfe10747ef0acd37c50
tree2aa678f963da80b953898c11b3224de7b04f39bb
parent1d33d6dce11e2c900daeca8110d56b95f1174188
perf test: Add automated tests for pmu sysfs translated events

Add automated tests for all events found under PMU/events
directory. Tested events are in the 'cpu/event=xxx/u' format,
where 'xxx' is substituted by every event found.

The 'event=xxx' term is translated to the cpu specific term.
We only check that the event is created (not the real config
numbers) and that the modifier is properly set.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1349873598-12583-9-git-send-email-jolsa@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/util/parse-events-test.c