diff options
author | Jiri Olsa <jolsa@redhat.com> | 2012-10-30 23:01:56 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-11-05 14:02:09 -0300 |
commit | f2e264ce36cbac642a63c23725da712bf00d508b (patch) | |
tree | 5a7a1a22eb3d685dcfb7f66d8a5e50a787977445 | |
parent | 813105858a85c9a98fc686fbe6788dc217cc9ab3 (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>
-rw-r--r-- | tools/perf/tests/attr/test-record-no-delay | 9 |
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 00000000000..f253b78cdbf --- /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 |