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

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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 6f193400
......@@ -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
......
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -4,6 +4,5 @@ args = -j hv kill >/dev/null 2>&1
ret = 1
[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=8
......@@ -4,6 +4,5 @@ args = -j ind_call kill >/dev/null 2>&1
ret = 1
[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=64
......@@ -4,6 +4,5 @@ args = -j k kill >/dev/null 2>&1
ret = 1
[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=8
......@@ -4,6 +4,5 @@ args = -j u kill >/dev/null 2>&1
ret = 1
[event:base-record]
sample_period=4000
sample_type=2311
branch_sample_type=8
......@@ -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
......
......@@ -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
......@@ -4,5 +4,4 @@ args = -R kill >/dev/null 2>&1
ret = 1
[event:base-record]
sample_period=4000
sample_type=1415
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment