]> git.baikalelectronics.ru Git - kernel.git/commit
perf test: Stat test for repeat with a weak group
authorIan Rogers <irogers@google.com>
Mon, 22 Aug 2022 21:33:52 +0000 (14:33 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 27 Aug 2022 14:55:17 +0000 (11:55 -0300)
commiteb4c90cfadf05f21b1b65ab941268f3b5663acd8
treebc4a3fcae8d72a671ca1ef00674173f8f238d8fd
parenta0b7a3e6279411ac8a6dc97bdf0c4d6dcc1bb1db
perf test: Stat test for repeat with a weak group

Breaking a weak group requires multiple passes of an evlist, with
multiple runs this can introduce bugs ultimately leading to
segfaults. Add a test to cover this.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20220822213352.75721-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/stat.sh