summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/test-record-no-buffering
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-07-03 17:50:23 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-19 05:14:18 +0300
commit44fed277f81ba22e3f2fbcf1501c3b14aeb9f8e4 (patch)
tree389b1e922fd43cf4ccb42bf8dc04454a8eee174d /tools/perf/tests/attr/test-record-no-buffering
parentd9115e924088b714bb801713751bf7922d799f95 (diff)
downloadlinux-44fed277f81ba22e3f2fbcf1501c3b14aeb9f8e4.tar.xz
perf tests attr: Fix no-delay test
Following commit: commit 509051ea8427 ("perf record: Rename --no-delay to --no-buffering") removed '-D' option and renamed --no-delay into --no-buffering. Fixing that in the attr tests. 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> Fixes: 509051ea8427 ("perf record: Rename --no-delay to --no-buffering") Link: http://lkml.kernel.org/r/20170703145030.12903-9-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr/test-record-no-buffering')
-rw-r--r--tools/perf/tests/attr/test-record-no-buffering9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-no-buffering b/tools/perf/tests/attr/test-record-no-buffering
new file mode 100644
index 000000000000..0b0355af013a
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-no-buffering
@@ -0,0 +1,9 @@
+[config]
+command = record
+args = --no-buffering kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+sample_type=263
+watermark=0
+wakeup_events=1