]> git.ipfire.org Git - people/arne_f/kernel.git/commit
perf tests attr: Add test_attr__ready function
authorJiri Olsa <jolsa@kernel.org>
Mon, 3 Jul 2017 14:50:18 +0000 (16:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:15 +0000 (23:14 -0300)
commit10213e2ff2e0453324689eb50e73df3df1ee6163
treea4da3052e20c45c388c07a6f69a0600dd096b350
parentd78ada4a767a744cad5efa210b8acf57748b91d7
perf tests attr: Add test_attr__ready function

We create many test events before the real ones just to test specific
features. But there's no way for attr tests to separate those test
events from those it needs to check.

Adding 'ready' call from the events open interface to trigger/start
events collection for attr test.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20170703145030.12903-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/perf.h
tools/perf/tests/attr.c
tools/perf/util/evsel.c