summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-07-03 16:50:28 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-18 23:14:21 -0300
commitb78e92e6071d5131f5ba6b25437d82c0fcef09de (patch)
tree534b9d3348eb32faf3aa3356fdc9473b6fe6318c /tools/perf/tests
parent042049404f7a149446d5c839a088fb928b11ce7a (diff)
downloadlinux-stable-b78e92e6071d5131f5ba6b25437d82c0fcef09de.tar.gz
linux-stable-b78e92e6071d5131f5ba6b25437d82c0fcef09de.tar.bz2
linux-stable-b78e92e6071d5131f5ba6b25437d82c0fcef09de.zip
perf tests attr: Fix stat sample_type setup
>From following commit: commit 4979d0c7d0c7 ("perf stat record: Add record command") we started to assign PERF_SAMPLE_IDENTIFIER to sample_type. Fixing the attr stat tests accordingly. 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 Richter <tmricht@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20170703145030.12903-14-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests')
-rw-r--r--tools/perf/tests/attr/base-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/attr/base-stat b/tools/perf/tests/attr/base-stat
index ff9b33d4ae9e..4d0c2e42b64e 100644
--- a/tools/perf/tests/attr/base-stat
+++ b/tools/perf/tests/attr/base-stat
@@ -8,7 +8,7 @@ type=0
size=112
config=0
sample_period=0
-sample_type=0
+sample_type=65536
read_format=3
disabled=1
inherit=1