aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-group1
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-07-03 16:50:30 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-10-02 13:59:18 -0300
commit10836d9f9ac63d40ccfa756f871ce4ed51ae3b52 (patch)
tree703138bb5352654d3405020251e977bf3e58bb9a /tools/perf/tests/attr/test-record-group1
parentMerge remote-tracking branch 'tip/perf/urgent' into perf/core, to pick up fixes (diff)
downloadlinux-dev-10836d9f9ac63d40ccfa756f871ce4ed51ae3b52.tar.xz
linux-dev-10836d9f9ac63d40ccfa756f871ce4ed51ae3b52.zip
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: 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-Mich Richter <tmricht@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20170703145030.12903-16-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/tests/attr/test-record-group11
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-group1 b/tools/perf/tests/attr/test-record-group1
index 87a222d014d8..48e8bd12fe46 100644
--- a/tools/perf/tests/attr/test-record-group1
+++ b/tools/perf/tests/attr/test-record-group1
@@ -18,5 +18,6 @@ sample_type=327
read_format=4
mmap=0
comm=0
+task=0
enable_on_exec=0
disabled=0