diff options
author | Ian Rogers <[email protected]> | 2020-05-30 01:20:15 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-01 12:24:23 -0300 |
commit | 0fb0d615f310410502f7eac3b241374fbe8d9be8 (patch) | |
tree | e363ebd8ab3e448af814c41c90b830c2c4f83439 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8617e2e34fdec1eab373c578f7bdc341d0ca70fc (diff) |
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 <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Quentin Monnet <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions