Commit 10836d9f authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf tests attr: Fix task term values

The perf_event_attr::task is 1 by default for first (tracking) event in
the session. Setting task=1 as default and adding task=0 for cases that
need it.
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-Mich Richter <tmricht@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20170703145030.12903-16-jolsa@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c976a7d6
...@@ -23,7 +23,7 @@ comm=1 ...@@ -23,7 +23,7 @@ comm=1
freq=1 freq=1
inherit_stat=0 inherit_stat=0
enable_on_exec=1 enable_on_exec=1
task=0 task=1
watermark=0 watermark=0
precise_ip=0|1|2|3 precise_ip=0|1|2|3
mmap_data=0 mmap_data=0
......
...@@ -17,5 +17,6 @@ sample_type=327 ...@@ -17,5 +17,6 @@ sample_type=327
read_format=4 read_format=4
mmap=0 mmap=0
comm=0 comm=0
task=0
enable_on_exec=0 enable_on_exec=0
disabled=0 disabled=0
...@@ -23,7 +23,7 @@ sample_type=343 ...@@ -23,7 +23,7 @@ sample_type=343
# PERF_FORMAT_ID | PERF_FORMAT_GROUP # PERF_FORMAT_ID | PERF_FORMAT_GROUP
read_format=12 read_format=12
task=0
mmap=0 mmap=0
comm=0 comm=0
enable_on_exec=0 enable_on_exec=0
......
...@@ -18,5 +18,6 @@ sample_type=327 ...@@ -18,5 +18,6 @@ sample_type=327
read_format=4 read_format=4
mmap=0 mmap=0
comm=0 comm=0
task=0
enable_on_exec=0 enable_on_exec=0
disabled=0 disabled=0
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