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:26 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-19 05:14:20 +0300
commit5ff0cf421c37f53bb658a097c610cc1e3ced1133 (patch)
tree62d22861772f61cb43307edeb4bd75919e7566fc /tools/perf/tests/attr/test-record-no-buffering
parent6f193400eaf1de53145cc13ff69f88336e9a9c9a (diff)
downloadlinux-5ff0cf421c37f53bb658a097c610cc1e3ced1133.tar.xz
perf tests attr: Fix sample_period setup
The final period can differ from what user specifies on command line due to the perf_event_max_sample_rate sysctl setup. Thus we can't predixt the sample_period value any more. 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> Link: http://lkml.kernel.org/r/20170703145030.12903-12-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-buffering1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/test-record-no-buffering b/tools/perf/tests/attr/test-record-no-buffering
index 5bf349aeeb69..aa3956d8fe20 100644
--- a/tools/perf/tests/attr/test-record-no-buffering
+++ b/tools/perf/tests/attr/test-record-no-buffering
@@ -4,7 +4,6 @@ args = --no-buffering kill >/dev/null 2>&1
ret = 1
[event:base-record]
-sample_period=4000
sample_type=263
watermark=0
wakeup_events=1