linux/tools/perf
Ian Rogers f60efb4454 perf hist: In init, ensure mem_info is put on error paths
Rather than exit the internal map_symbols directly, put the mem-info
that does this and also lowers the reference count on the mem-info
itself otherwise the mem-info is being leaked.

Fixes: 56e144fe98 ("perf mem_info: Add and use map_symbol__exit and addr_map_symbol__exit")
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-12-03 11:07:40 -08:00
..
arch perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies 2025-11-13 23:03:11 -08:00
bench perf tools: Don't read build-ids from non-regular files 2025-11-26 10:13:38 -08:00
check-header_ignore_hunks/lib
dlfilters
Documentation perf timechart: Add record support for output perf.data path 2025-12-03 11:07:23 -08:00
include/perf
jvmti
pmu-events perf vendor events intel: Update sierraforest events from 1.12 to 1.13 2025-12-03 11:02:07 -08:00
python perf ilist: Be tolerant of reading a metric on the wrong CPU 2025-12-02 16:12:49 -08:00
scripts
tests perf test: Add kallsyms split test 2025-12-02 21:59:15 -08:00
trace
ui perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies 2025-11-13 23:03:11 -08:00
util perf hist: In init, ensure mem_info is put on error paths 2025-12-03 11:07:40 -08:00
.gitignore
Build
builtin-annotate.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-bench.c
builtin-buildid-cache.c perf tools: Don't read build-ids from non-regular files 2025-11-26 10:13:38 -08:00
builtin-buildid-list.c
builtin-c2c.c perf c2c annotate: Start from the contention line 2025-10-19 12:50:07 +09:00
builtin-check.c perf build: Remove NO_AUXTRACE build option 2025-11-13 23:03:11 -08:00
builtin-config.c
builtin-daemon.c
builtin-data.c
builtin-diff.c
builtin-evlist.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-ftrace.c
builtin-help.c
builtin-inject.c perf tools: Merge deferred user callchains 2025-12-02 21:59:14 -08:00
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c perf kvm: Fix debug assertion 2025-12-03 11:07:19 -08:00
builtin-kwork.c
builtin-list.c perf list: Support filtering in JSON output 2025-11-20 11:11:48 -08:00
builtin-lock.c
builtin-mem.c perf auxtrace: Remove errno.h from auxtrace.h and fix transitive dependencies 2025-11-13 23:03:11 -08:00
builtin-probe.c
builtin-record.c perf build: Remove NO_AUXTRACE build option 2025-11-13 23:03:11 -08:00
builtin-report.c perf tools: Merge deferred user callchains 2025-12-02 21:59:14 -08:00
builtin-sched.c
builtin-script.c perf tools: Merge deferred user callchains 2025-12-02 21:59:14 -08:00
builtin-stat.c perf stat: Read tool events last 2025-11-18 20:32:41 -08:00
builtin-timechart.c perf timechart: Add record support for output perf.data path 2025-12-03 11:07:23 -08:00
builtin-top.c perf top: Use evlist__new_default when no events specified 2025-10-15 23:59:11 +09:00
builtin-trace.c perf trace: Skip internal syscall arguments 2025-11-29 12:23:37 -08:00
builtin-version.c
builtin.h
check-headers.sh
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config perf build: Remove NO_AUXTRACE build option 2025-11-13 23:03:11 -08:00
Makefile.perf perf build: Remove NO_AUXTRACE build option 2025-11-13 23:03:11 -08:00
MANIFEST
perf-archive.sh
perf-completion.sh
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf.c
perf.h