Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ff0cf42 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarJiri 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 6f193400
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -4,6 +4,5 @@ args = -b kill >/dev/null 2>&1
ret     = 1

[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=8
+0 −1
Original line number Diff line number Diff line
@@ -4,6 +4,5 @@ args = -j any kill >/dev/null 2>&1
ret     = 1

[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=8
+0 −1
Original line number Diff line number Diff line
@@ -4,6 +4,5 @@ args = -j any_call kill >/dev/null 2>&1
ret     = 1

[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=16
+0 −1
Original line number Diff line number Diff line
@@ -4,6 +4,5 @@ args = -j any_ret kill >/dev/null 2>&1
ret     = 1

[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=32
Loading