diff options
author | Ian Rogers <irogers@google.com> | 2020-05-30 11:20:15 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-01 18:24:23 +0300 |
commit | 0fb0d615f310410502f7eac3b241374fbe8d9be8 (patch) | |
tree | e363ebd8ab3e448af814c41c90b830c2c4f83439 /tools/perf/util/arm-spe-decoder | |
parent | 8617e2e34fdec1eab373c578f7bdc341d0ca70fc (diff) | |
download | linux-0fb0d615f310410502f7eac3b241374fbe8d9be8.tar.xz |
perf test: Initialize memory in dwarf-unwind
Avoid a false positive caused by assembly code in arch/x86.
In tests, zero the perf_event to avoid uninitialized memory uses.
Warnings were caught using clang with -fsanitize=memory.
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Quentin Monnet <quentin@isovalent.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: clang-built-linux@googlegroups.com
Link: http://lore.kernel.org/lkml/20200530082015.39162-4-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/arm-spe-decoder')
0 files changed, 0 insertions, 0 deletions