kernel_samsung_a53x/tools/perf/util
Riccardo Mancini 6396e0e35f perf session: Add missing evlist__delete when deleting a session
commit cf96b8e45a9bf74d2a6f1e1f88a41b10e9357c6b upstream.

ASan reports a memory leak caused by evlist not being deleted on exit in
perf-report, perf-script and perf-data.
The problem is caused by evlist->session not being deleted, which is
allocated in perf_session__read_header, called in perf_session__new if
perf_data is in read mode.
In case of write mode, the session->evlist is filled by the caller.
This patch solves the problem by calling evlist__delete in
perf_session__delete if perf_data is in read mode.

Changes in v2:
 - call evlist__delete from within perf_session__delete

v1: https://lore.kernel.org/lkml/20210621234317.235545-1-rickyman7@gmail.com/

ASan report follows:

$ ./perf script report flamegraph
=================================================================
==227640==ERROR: LeakSanitizer: detected memory leaks

<SNIP unrelated>

Indirect leak of 2704 byte(s) in 1 object(s) allocated from:
    #0 0x4f4137 in calloc (/home/user/linux/tools/perf/perf+0x4f4137)
    #1 0xbe3d56 in zalloc /home/user/linux/tools/lib/perf/../../lib/zalloc.c:8:9
    #2 0x7f999e in evlist__new /home/user/linux/tools/perf/util/evlist.c:77:26
    #3 0x8ad938 in perf_session__read_header /home/user/linux/tools/perf/util/header.c:3797:20
    #4 0x8ec714 in perf_session__open /home/user/linux/tools/perf/util/session.c:109:6
    #5 0x8ebe83 in perf_session__new /home/user/linux/tools/perf/util/session.c:213:10
    #6 0x60c6de in cmd_script /home/user/linux/tools/perf/builtin-script.c:3856:12
    #7 0x7b2930 in run_builtin /home/user/linux/tools/perf/perf.c:313:11
    #8 0x7b120f in handle_internal_command /home/user/linux/tools/perf/perf.c:365:8
    #9 0x7b2493 in run_argv /home/user/linux/tools/perf/perf.c:409:2
    #10 0x7b0c89 in main /home/user/linux/tools/perf/perf.c:539:3
    #11 0x7f5260654b74  (/lib64/libc.so.6+0x27b74)

Indirect leak of 568 byte(s) in 1 object(s) allocated from:
    #0 0x4f4137 in calloc (/home/user/linux/tools/perf/perf+0x4f4137)
    #1 0xbe3d56 in zalloc /home/user/linux/tools/lib/perf/../../lib/zalloc.c:8:9
    #2 0x80ce88 in evsel__new_idx /home/user/linux/tools/perf/util/evsel.c:268:24
    #3 0x8aed93 in evsel__new /home/user/linux/tools/perf/util/evsel.h:210:9
    #4 0x8ae07e in perf_session__read_header /home/user/linux/tools/perf/util/header.c:3853:11
    #5 0x8ec714 in perf_session__open /home/user/linux/tools/perf/util/session.c:109:6
    #6 0x8ebe83 in perf_session__new /home/user/linux/tools/perf/util/session.c:213:10
    #7 0x60c6de in cmd_script /home/user/linux/tools/perf/builtin-script.c:3856:12
    #8 0x7b2930 in run_builtin /home/user/linux/tools/perf/perf.c:313:11
    #9 0x7b120f in handle_internal_command /home/user/linux/tools/perf/perf.c:365:8
    #10 0x7b2493 in run_argv /home/user/linux/tools/perf/perf.c:409:2
    #11 0x7b0c89 in main /home/user/linux/tools/perf/perf.c:539:3
    #12 0x7f5260654b74  (/lib64/libc.so.6+0x27b74)

Indirect leak of 264 byte(s) in 1 object(s) allocated from:
    #0 0x4f4137 in calloc (/home/user/linux/tools/perf/perf+0x4f4137)
    #1 0xbe3d56 in zalloc /home/user/linux/tools/lib/perf/../../lib/zalloc.c:8:9
    #2 0xbe3e70 in xyarray__new /home/user/linux/tools/lib/perf/xyarray.c:10:23
    #3 0xbd7754 in perf_evsel__alloc_id /home/user/linux/tools/lib/perf/evsel.c:361:21
    #4 0x8ae201 in perf_session__read_header /home/user/linux/tools/perf/util/header.c:3871:7
    #5 0x8ec714 in perf_session__open /home/user/linux/tools/perf/util/session.c:109:6
    #6 0x8ebe83 in perf_session__new /home/user/linux/tools/perf/util/session.c:213:10
    #7 0x60c6de in cmd_script /home/user/linux/tools/perf/builtin-script.c:3856:12
    #8 0x7b2930 in run_builtin /home/user/linux/tools/perf/perf.c:313:11
    #9 0x7b120f in handle_internal_command /home/user/linux/tools/perf/perf.c:365:8
    #10 0x7b2493 in run_argv /home/user/linux/tools/perf/perf.c:409:2
    #11 0x7b0c89 in main /home/user/linux/tools/perf/perf.c:539:3
    #12 0x7f5260654b74  (/lib64/libc.so.6+0x27b74)

Indirect leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x4f4137 in calloc (/home/user/linux/tools/perf/perf+0x4f4137)
    #1 0xbe3d56 in zalloc /home/user/linux/tools/lib/perf/../../lib/zalloc.c:8:9
    #2 0xbd77e0 in perf_evsel__alloc_id /home/user/linux/tools/lib/perf/evsel.c:365:14
    #3 0x8ae201 in perf_session__read_header /home/user/linux/tools/perf/util/header.c:3871:7
    #4 0x8ec714 in perf_session__open /home/user/linux/tools/perf/util/session.c:109:6
    #5 0x8ebe83 in perf_session__new /home/user/linux/tools/perf/util/session.c:213:10
    #6 0x60c6de in cmd_script /home/user/linux/tools/perf/builtin-script.c:3856:12
    #7 0x7b2930 in run_builtin /home/user/linux/tools/perf/perf.c:313:11
    #8 0x7b120f in handle_internal_command /home/user/linux/tools/perf/perf.c:365:8
    #9 0x7b2493 in run_argv /home/user/linux/tools/perf/perf.c:409:2
    #10 0x7b0c89 in main /home/user/linux/tools/perf/perf.c:539:3
    #11 0x7f5260654b74  (/lib64/libc.so.6+0x27b74)

Indirect leak of 7 byte(s) in 1 object(s) allocated from:
    #0 0x4b8207 in strdup (/home/user/linux/tools/perf/perf+0x4b8207)
    #1 0x8b4459 in evlist__set_event_name /home/user/linux/tools/perf/util/header.c:2292:16
    #2 0x89d862 in process_event_desc /home/user/linux/tools/perf/util/header.c:2313:3
    #3 0x8af319 in perf_file_section__process /home/user/linux/tools/perf/util/header.c:3651:9
    #4 0x8aa6e9 in perf_header__process_sections /home/user/linux/tools/perf/util/header.c:3427:9
    #5 0x8ae3e7 in perf_session__read_header /home/user/linux/tools/perf/util/header.c:3886:2
    #6 0x8ec714 in perf_session__open /home/user/linux/tools/perf/util/session.c:109:6
    #7 0x8ebe83 in perf_session__new /home/user/linux/tools/perf/util/session.c:213:10
    #8 0x60c6de in cmd_script /home/user/linux/tools/perf/builtin-script.c:3856:12
    #9 0x7b2930 in run_builtin /home/user/linux/tools/perf/perf.c:313:11
    #10 0x7b120f in handle_internal_command /home/user/linux/tools/perf/perf.c:365:8
    #11 0x7b2493 in run_argv /home/user/linux/tools/perf/perf.c:409:2
    #12 0x7b0c89 in main /home/user/linux/tools/perf/perf.c:539:3
    #13 0x7f5260654b74  (/lib64/libc.so.6+0x27b74)

SUMMARY: AddressSanitizer: 3728 byte(s) leaked in 7 allocation(s).

Signed-off-by: Riccardo Mancini <rickyman7@gmail.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210624231926.212208-1-rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: stable@vger.kernel.org # 5.10.228
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-30 02:33:26 +01:00
..
arm-spe-decoder Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
c++ Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs-etm-decoder Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-pt-decoder Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
libunwind Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scripting-engines Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
affinity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
affinity.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
annotate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
annotate.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
archinsn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm-spe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm-spe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxtrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
auxtrace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
block-info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
block-info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
block-range.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
block-range.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf-event.c perf env: Avoid recursively taking env->bpf_progs.lock 2024-11-18 12:12:50 +01:00
bpf-event.h perf env: Avoid recursively taking env->bpf_progs.lock 2024-11-18 12:12:50 +01:00
bpf-loader.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf-loader.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf-prologue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf-prologue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf_map.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf_map.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
branch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
branch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Build Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
build-id.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
build-id.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cacheline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cacheline.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
call-path.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
call-path.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
callchain.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cgroup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cgroup.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clockid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clockid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cloexec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cloexec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
color.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
color.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
color_config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
comm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
comm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
compress.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
config.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copyfile.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
copyfile.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
counts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
counts.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu-set-sched.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpumap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cputopo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cputopo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs-etm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cs-etm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
data-convert-bt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
data-convert-bt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
data-convert.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
data.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
data.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
db-export.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
db-export.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
demangle-java.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
demangle-java.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
demangle-rust.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
demangle-rust.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dso.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsos.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsos.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dump-insn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dump-insn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dwarf-aux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dwarf-aux.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dwarf-regs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
env.c perf env: Avoid recursively taking env->bpf_progs.lock 2024-11-18 12:12:50 +01:00
env.h perf env: Avoid recursively taking env->bpf_progs.lock 2024-11-18 12:12:50 +01:00
event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
event.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
events_stats.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evlist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evsel.c perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample() 2024-11-19 08:44:51 +01:00
evsel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evsel_config.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evsel_fprintf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evsel_fprintf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evswitch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evswitch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.l Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.y Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
find-map.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fncache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fncache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
genelf.c perf genelf: Set ELF program header addresses properly 2024-11-18 12:12:49 +01:00
genelf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
genelf_debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
generate-cmdlist.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
get_current_dir_name.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
get_current_dir_name.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hashmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hashmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
header.c perf env: Avoid recursively taking env->bpf_progs.lock 2024-11-18 12:12:50 +01:00
header.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
help-unknown-cmd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
help-unknown-cmd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hist.c Revert "perf hist: Add missing puts to hist__account_cycles" 2024-11-30 02:33:26 +01:00
hist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-bts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-bts.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-pt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-pt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intlist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jit.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jitdump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jitdump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kvm-stat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
levenshtein.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
levenshtein.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
llvm-utils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
llvm-utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lzma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
machine.c perf machine: Avoid out of bounds LBR memory read 2024-11-18 11:43:06 +01:00
machine.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
map.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
map.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
map_symbol.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maps.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mem-events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mem-events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mem2node.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mem2node.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memswap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memswap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metricgroup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
metricgroup.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namespaces.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
namespaces.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ordered-events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ordered-events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-branch-options.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-branch-options.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-events.l Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-events.y Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-regs-options.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-regs-options.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-sublevel-options.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parse-sublevel-options.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
path.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
path.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-hooks-list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-hooks.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf-hooks.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
PERF-VERSION-GEN Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_api_probe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_api_probe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_event_attr_fprintf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_regs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
perf_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pfm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pfm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.l Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmu.y Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
print_binary.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
print_binary.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-event.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-file.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-finder.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probe-finder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pstack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pstack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
python-ext-sources Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
python.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rb_resort.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rblist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rblist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
record.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
record.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rlimit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rlimit.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rwsem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rwsem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s390-cpumcf-kernel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s390-cpumsf-kernel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s390-cpumsf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s390-cpumsf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s390-sample-raw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sample-raw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sample-raw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
session.c perf session: Add missing evlist__delete when deleting a session 2024-11-30 02:33:26 +01:00
session.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setns.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup.py Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sideband_evlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sort.c perf report: Fix condition in sort__sym_cmp() 2024-11-23 23:20:09 +01:00
sort.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spark.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spark.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srccode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srccode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srcline.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
srcline.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stat-display.c perf stat: Avoid metric-only segv 2024-11-19 08:44:53 +01:00
stat-shadow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strbuf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strbuf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stream.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stream.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strfilter.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strfilter.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
string.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
string2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strlist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strlist.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svghelper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svghelper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol-elf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol-minimal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol_conf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol_fprintf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symsrc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
synthetic-events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
synthetic-events.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
syscalltbl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
syscalltbl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
target.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
target.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
term.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
term.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread-stack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread-stack.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thread_map.c perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str() 2024-11-19 08:44:53 +01:00
thread_map.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
time-utils.c Revert "perf time-utils: Fix 32-bit nsec parsing" 2024-11-24 00:23:22 +01:00
time-utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tool.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
top.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
top.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
topdown.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
topdown.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event-info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event-parse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event-read.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event-scripting.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace-event.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trigger.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
units.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
units.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unwind-libdw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unwind-libdw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unwind-libunwind-local.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unwind-libunwind.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
unwind.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usage.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
util.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
values.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
values.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vdso.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vdso.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xyarray.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zlib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zstd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00