summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-09-23 17:04:20 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-11-06 12:29:56 +0100
commit8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3 (patch)
treeb7e0e6eb69b055ecb3c9ea0d93423cdaa297b8fa /tools/perf/tests/attr
parentperf tools: Fix undefined symbol scnprintf in libperf-jvmti.so (diff)
downloadlinux-8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3.tar.xz
linux-8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3.zip
perf tools: Do not zero sample_id_all for group members
Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We can't do that, because it needs to be the same over the whole event list. This patch keeps it untouched again. Reported-by: Andi Kleen <andi@firstfloor.org> Tested-by: Andi Kleen <andi@firstfloor.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180923150420.27327-1-jolsa@kernel.org Fixes: e9add8bac6c6 ("perf evsel: Disable write_backward for leader sampling group events") Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr')
-rw-r--r--tools/perf/tests/attr/test-record-group-sampling1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/test-record-group-sampling b/tools/perf/tests/attr/test-record-group-sampling
index 8a33ca4f9e1f..f0729c454f16 100644
--- a/tools/perf/tests/attr/test-record-group-sampling
+++ b/tools/perf/tests/attr/test-record-group-sampling
@@ -37,4 +37,3 @@ sample_freq=0
sample_period=0
freq=0
write_backward=0
-sample_id_all=0