linux/tools/perf/arch/x86/tests
Ian Rogers 0fb0d615f3 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>
2020-06-01 12:24:23 -03:00
..
arch-tests.c perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
bp-modify.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
Build perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
dwarf-unwind.c perf test: Initialize memory in dwarf-unwind 2020-06-01 12:24:23 -03:00
gen-insn-x86-dat.awk treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
gen-insn-x86-dat.sh treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
insn-x86-dat-32.c perf/tests: Add CET instructions to the new instructions test 2020-03-26 12:31:36 +01:00
insn-x86-dat-64.c perf/tests: Add CET instructions to the new instructions test 2020-03-26 12:31:36 +01:00
insn-x86-dat-src.c perf/tests: Add CET instructions to the new instructions test 2020-03-26 12:31:36 +01:00
insn-x86.c perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
intel-cqm.c libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
intel-pt-pkt-decoder-test.c perf intel-pt: Add Intel PT packet decoder test 2019-06-17 15:57:17 -03:00
perf-time-to-tsc.c perf evsel: Rename perf_evsel__parse_sample*() to evsel__parse_sample*() 2020-05-05 16:35:31 -03:00
rdpmc.c libperf: Move 'page_size' global variable to libperf 2019-09-25 09:51:48 -03:00
regs_load.S perf bench: Update the copies of x86's mem{cpy,set}_64.S 2019-12-02 11:40:57 -03:00