perf tests attr: Fix task term values
authorJiri Olsa <jolsa@kernel.org>
Mon, 3 Jul 2017 14:50:30 +0000 (16:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Oct 2017 16:59:18 +0000 (13:59 -0300)
commit10836d9f9ac63d40ccfa756f871ce4ed51ae3b52
tree703138bb5352654d3405020251e977bf3e58bb9a
parentc976a7d6db215481261b63a89a408cb265a9812b
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>
tools/perf/tests/attr/base-record
tools/perf/tests/attr/test-record-group
tools/perf/tests/attr/test-record-group-sampling
tools/perf/tests/attr/test-record-group1