]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Add tests of new pinned modifier
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 6 Aug 2013 13:28:06 +0000 (23:28 +1000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Aug 2013 20:35:40 +0000 (17:35 -0300)
commit29d79864c3ae8273ebda251802376563b3cb0817
tree2f56fed358edb74e49cc6fc0c0a974deac688597
parentfbf935a6f59e17acf48ad8b9970ae79100d34556
perf tests: Add tests of new pinned modifier

Add a negative test to test__checkevent_pmu_events() to get lots of
coverage of the negative case, ie. when the modifier is not specified.

Add a test of a single event, and of the group case.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1375795686-4226-2-git-send-email-michael@ellerman.id.au
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/parse-events.c