perf tests: Add 'keep tracking' test
authorAdrian Hunter <adrian.hunter@intel.com>
Sat, 31 Aug 2013 18:50:53 +0000 (21:50 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Sep 2013 17:58:20 +0000 (14:58 -0300)
commit395c307089c9f5f0d82c63c11c79227b57bb7ac5
treefb0574d23782254c3781a7a21f1f11ab80121e65
parentd22d1a2a2c224b3b378d873589ced27add7ebde4
perf tests: Add 'keep tracking' test

Add a test for the newly added PERF_COUNT_SW_DUMMY event.  The test
checks that tracking events continue when an event is disabled but a
dummy software event is not disabled.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1377975053-3811-4-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/tests/builtin-test.c
tools/perf/tests/keep-tracking.c [new file with mode: 0644]
tools/perf/tests/tests.h
tools/perf/util/evlist.c
tools/perf/util/evlist.h