summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-10-30 23:01:56 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-05 14:02:09 -0300
commitf2e264ce36cbac642a63c23725da712bf00d508b (patch)
tree5a7a1a22eb3d685dcfb7f66d8a5e50a787977445 /tools/perf/tests/attr
parent813105858a85c9a98fc686fbe6788dc217cc9ab3 (diff)
perf tests: Add attr record no delay test
Adding test to validate perf_event_attr data for command: 'record -D' 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-16-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr')
-rw-r--r--tools/perf/tests/attr/test-record-no-delay9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-no-delay b/tools/perf/tests/attr/test-record-no-delay
new file mode 100644
index 000000000000..f253b78cdbf2
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-no-delay
@@ -0,0 +1,9 @@
+[config]
+command = record
+args = -D kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+sample_type=263
+watermark=0
+wakeup_events=1