]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf report: Fix input reload/switch with symbol sort key
authorDmitry Vyukov <dvyukov@google.com>
Wed, 8 Jan 2025 06:36:23 +0000 (07:36 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 19 Feb 2025 21:27:59 +0000 (13:27 -0800)
commit6353255e7cfab568058580424fa0967bf4504fe5
tree8799be5c3b97253765659dfaaf320a553f57fbd0
parentacda4c200185f55f10023bd9fcbf97915cc0fa0a
perf report: Fix input reload/switch with symbol sort key

Currently the code checks that there is no "ipc" in the sort order
and add an ipc string. This will always error out on the second pass
after input reload/switch, since the sort order already contains "ipc".
Do the ipc check/fixup only on the first pass.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Link: https://lore.kernel.org/r/20250108063628.215577-1-dvyukov@google.com
Fixes: ec6ae74fe8f0 ("perf report: Display average IPC and IPC coverage per symbol")
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-report.c