diff options
author | Jiri Olsa | 2017-07-03 16:50:30 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2017-10-02 18:59:18 +0200 |
commit | 10836d9f9ac63d40ccfa756f871ce4ed51ae3b52 (patch) | |
tree | 703138bb5352654d3405020251e977bf3e58bb9a /tools/perf/tests/attr/base-record | |
parent | Merge remote-tracking branch 'tip/perf/urgent' into perf/core, to pick up fixes (diff) | |
download | kernel-qcow2-linux-10836d9f9ac63d40ccfa756f871ce4ed51ae3b52.tar.gz kernel-qcow2-linux-10836d9f9ac63d40ccfa756f871ce4ed51ae3b52.tar.xz kernel-qcow2-linux-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 'tools/perf/tests/attr/base-record')
-rw-r--r-- | tools/perf/tests/attr/base-record | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/base-record b/tools/perf/tests/attr/base-record index 31e0b1da830b..37940665f736 100644 --- a/tools/perf/tests/attr/base-record +++ b/tools/perf/tests/attr/base-record @@ -23,7 +23,7 @@ comm=1 freq=1 inherit_stat=0 enable_on_exec=1 -task=0 +task=1 watermark=0 precise_ip=0|1|2|3 mmap_data=0 |