linux/tools/perf
Ian Rogers 0d456ebaad perf hist: Add missing puts to hist__account_cycles
[ Upstream commit c1149037f6 ]

Caught using reference count checking on perf top with
"--call-graph=lbr". After this no memory leaks were detected.

Fixes: 57849998e2 ("perf report: Add processing for cycle histograms")
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: K Prateek Nayak <kprateek.nayak@amd.com>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Sandipan Das <sandipan.das@amd.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: German Gomez <german.gomez@arm.com>
Cc: James Clark <james.clark@arm.com>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Changbin Du <changbin.du@huawei.com>
Cc: liuwenyu <liuwenyu7@huawei.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Song Liu <song@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Yanteng Si <siyanteng@loongson.cn>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20231024222353.3024098-6-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:08:26 +01:00
..
arch perf intel-pt: pkt-decoder: Add CFE and EVD packets 2023-03-10 09:40:14 +01:00
bench parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-14 10:23:27 +01:00
dlfilters
Documentation perf intel-pt: Do not try to queue auxtrace data on pipe 2023-03-10 09:39:33 +01:00
examples/bpf
include
jvmti
pmu-events perf vendor events: Drop some of the JSON/events for power10 platform 2023-09-19 12:22:57 +02:00
python
scripts perf scripts intel-pt-events.py: Fix IPC output for Python 2 2023-05-17 11:50:19 +02:00
tests perf test shell stat_bpf_counters: Fix test on Intel 2023-09-23 11:10:00 +02:00
trace
ui perf hists browser: Fix the number of entries for 'e' key 2023-09-19 12:23:02 +02:00
util perf hist: Add missing puts to hist__account_cycles 2023-11-20 11:08:26 +01:00
.gitignore perf tools: Add the include/perf/ directory to .gitignore 2022-11-16 09:58:20 +01:00
Build
builtin-annotate.c
builtin-bench.c perf bench: Add missing setlocale() call to allow usage of %'d style formatting 2023-07-23 13:47:11 +02:00
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-c2c.c perf c2c: Fix sorting in percent_rmt_hitm_cmp() 2022-06-14 18:36:13 +02:00
builtin-config.c
builtin-daemon.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-ftrace.c
builtin-help.c
builtin-inject.c perf inject: Fix --buildid-all not to eat up MMAP2 2023-03-17 08:48:47 +01:00
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c
builtin-list.c
builtin-lock.c
builtin-mem.c
builtin-probe.c
builtin-record.c
builtin-report.c perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event 2022-04-27 14:38:59 +02:00
builtin-sched.c
builtin-script.c perf script: Fix allocation of evsel->priv related to per-event dump files 2023-07-23 13:47:12 +02:00
builtin-stat.c perf stat: Separate bperf from bpf_profiler 2023-05-17 11:50:21 +02:00
builtin-timechart.c
builtin-top.c perf top: Don't pass an ERR_PTR() directly to perf_session__delete() 2023-09-19 12:22:57 +02:00
builtin-trace.c perf trace: Really free the evsel->priv area 2023-09-19 12:22:57 +02:00
builtin-version.c
builtin.h
check-headers.sh
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config perf build: Fix library not found error when using CSLIBS 2023-07-27 08:46:59 +02:00
Makefile.perf
MANIFEST
perf-archive.sh
perf-completion.sh perf tools: Fix auto-complete on aarch64 2023-03-10 09:39:33 +01:00
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c perf tools: Fix perf's libperf_print callback 2022-04-13 20:59:20 +02:00
perf.h