summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/base-record
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/base-record
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/base-record')
-rw-r--r--tools/perf/tests/attr/base-record2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/base-record b/tools/perf/tests/attr/base-record
index cdf3adf7d389..a9cb72b8fbb1 100644
--- a/tools/perf/tests/attr/base-record
+++ b/tools/perf/tests/attr/base-record
@@ -7,7 +7,7 @@ cpu=*
type=0|1
size=112
config=0
-sample_period=4000
+sample_period=*
sample_type=263
read_format=0
disabled=1