perf tests: Add tests of new pinned modifier
authorMichael Ellerman <[email protected]>
Tue, 6 Aug 2013 13:28:06 +0000 (23:28 +1000)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 7 Aug 2013 20:35:40 +0000 (17:35 -0300)
commitc9ee780f2736b7a149658b0cd8c8389da23e190a
tree2f56fed358edb74e49cc6fc0c0a974deac688597
parente9a7c414477d20c3cc56f90f29c35b06f0f15e25
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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/tests/parse-events.c