aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-data
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-07-03 16:50:26 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-18 23:14:20 -0300
commit5ff0cf421c37f53bb658a097c610cc1e3ced1133 (patch)
tree62d22861772f61cb43307edeb4bd75919e7566fc /tools/perf/tests/attr/test-record-data
parentperf tests attr: Fix cpu test disabled term setup (diff)
downloadlinux-dev-5ff0cf421c37f53bb658a097c610cc1e3ced1133.tar.xz
linux-dev-5ff0cf421c37f53bb658a097c610cc1e3ced1133.zip
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-data')
-rw-r--r--tools/perf/tests/attr/test-record-data2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/tests/attr/test-record-data b/tools/perf/tests/attr/test-record-data
index 53c8890f6e5f..a9cf2233b0ce 100644
--- a/tools/perf/tests/attr/test-record-data
+++ b/tools/perf/tests/attr/test-record-data
@@ -4,8 +4,6 @@ args = -d kill >/dev/null 2>&1
ret = 1
[event:base-record]
-sample_period=4000
-
# sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
# PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC
sample_type=33039