]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf tools: Deadcode removal
authorDr. David Alan Gilbert <linux@treblig.org>
Tue, 4 Feb 2025 22:05:45 +0000 (22:05 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 10 Feb 2025 19:46:02 +0000 (11:46 -0800)
commit1df4b33f62fa4c5e6c50b9e0473ef2956891f69d
tree23d0c4ba4de7a26657ec3568b7196990f7eeb204
parent9e676a024fa1fa2bd8150c2d2ba85478280353bc
perf tools: Deadcode removal

The last use of machine__fprintf_vmlinux_path() was removed in 2011 by
commit ab81f3fd350c ("perf top: Reuse the 'report' hist_entry/hists
classes")

mmap_cpu_mask__duplicate() was added in 2021 by
commit 6bd006c6eb7f ("perf mmap: Introduce mmap_cpu_mask__duplicate()")
but hasn't been used since.

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Tested-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250204220545.456435-1-linux@treblig.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/machine.c
tools/perf/util/machine.h
tools/perf/util/mmap.c
tools/perf/util/mmap.h