android_kernel_xiaomi_sm7250/tools/perf/tests
Arnaldo Carvalho de Melo 177f4b5ef3 perf tests bp_account: Make global variable static
[ Upstream commit cff20b3151ccab690715cb6cf0f5da5cccb32adf ]

To fix the build with newer gccs, that without this patch exit with:

    LD       /tmp/build/perf/tests/perf-in.o
  ld: /tmp/build/perf/tests/bp_account.o:/git/perf/tools/perf/tests/bp_account.c:22: multiple definition of `the_var'; /tmp/build/perf/tests/bp_signal.o:/git/perf/tools/perf/tests/bp_signal.c:38: first defined here
  make[4]: *** [/git/perf/tools/build/Makefile.build:145: /tmp/build/perf/tests/perf-in.o] Error 1

First noticed in fedora:rawhide/32 with:

  [perfbuilder@a5ff49d6e6e4 ~]$ gcc --version
  gcc (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8)

Reported-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-06 08:24:21 +02:00
..
attr
shell perf test: Fix test trace+probe_vfs_getname.sh on s390 2020-10-01 13:14:34 +02:00
.gitignore
attr.c
attr.py
backward-ring-buffer.c
bitmap.c
bp_account.c perf tests bp_account: Make global variable static 2022-06-06 08:24:21 +02:00
bp_signal_overflow.c
bp_signal.c perf test: Fix the "signal" test inline assembly 2020-09-23 12:11:00 +02:00
bpf-script-example.c
bpf-script-test-kbuild.c
bpf-script-test-prologue.c
bpf-script-test-relocation.c
bpf.c perf test bpf: Free obj_buf 2021-07-28 11:13:47 +02:00
Build
builtin-test.c
clang.c
code-reading.c
cpumap.c
dso-data.c
dwarf-unwind.c
event_update.c
event-times.c
evsel-roundtrip-name.c
evsel-tp-sched.c
expr.c
fdarray.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
is_printable_array.c
keep-tracking.c
kmod-path.c
llvm.c
llvm.h
make
mem2node.c
mem.c
mmap-basic.c
mmap-thread-lookup.c perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning 2019-07-31 07:27:06 +02:00
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c
parse-no-sample-id-all.c
perf-hooks.c perf tests: Avoid raising SEGV using an obvious NULL dereference 2019-11-06 13:05:41 +01:00
perf-record.c
perf-targz-src-pkg
pmu.c perf test: Free formats for perf pmu parse test 2020-09-23 12:11:00 +02:00
python-use.c
sample-parsing.c perf test: Fix unaligned access in sample parsing test 2021-03-04 09:39:47 +01:00
sdt.c
stat.c
sw-clock.c
switch-tracking.c
task-exit.c perf test: Report failure for mmap events 2019-12-31 16:35:14 +01:00
tests.h
thread-map.c
thread-mg-share.c
topology.c
unit_number__scnprintf.c
vmlinux-kallsyms.c