aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-branch-filter-any_call
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-10-30 23:01:58 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-05 14:02:21 -0300
commit9c90178412813368b7f040793c4af2fdfed3634d (patch)
treee37dff7b2e78727c2d2e5baca89bdc20042d0d2e /tools/perf/tests/attr/test-record-branch-filter-any_call
parentperf tests: Add attr record branch any test (diff)
downloadlinux-dev-9c90178412813368b7f040793c4af2fdfed3634d.tar.xz
linux-dev-9c90178412813368b7f040793c4af2fdfed3634d.zip
perf tests: Add attr record branch filter tests
Adding test to validate perf_event_attr data for command: 'record -j any' 'record -j any_call' 'record -j any_ret' 'record -j hv' 'record -j ind_call' 'record -j k' 'record -j u' Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1351634526-1516-18-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr/test-record-branch-filter-any_call')
-rw-r--r--tools/perf/tests/attr/test-record-branch-filter-any_call8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-branch-filter-any_call b/tools/perf/tests/attr/test-record-branch-filter-any_call
new file mode 100644
index 000000000000..8708dbd4f373
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-branch-filter-any_call
@@ -0,0 +1,8 @@
+[config]
+command = record
+args = -j any_call kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+sample_type=2311
+branch_sample_type=16