summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/test-record-branch-filter-any_ret
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-10-30 22:01:58 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-05 17:02:21 (GMT)
commit9c90178412813368b7f040793c4af2fdfed3634d (patch)
treee37dff7b2e78727c2d2e5baca89bdc20042d0d2e /tools/perf/tests/attr/test-record-branch-filter-any_ret
parent2fa10f2fe370f2da6c48dae5a154bfcd74848538 (diff)
downloadlinux-9c90178412813368b7f040793c4af2fdfed3634d.tar.xz
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_ret')
-rw-r--r--tools/perf/tests/attr/test-record-branch-filter-any_ret8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-branch-filter-any_ret b/tools/perf/tests/attr/test-record-branch-filter-any_ret
new file mode 100644
index 0000000..0d3607a
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-branch-filter-any_ret
@@ -0,0 +1,8 @@
+[config]
+command = record
+args = -j any_ret kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+sample_type=2311
+branch_sample_type=32