]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf hist: Simplify __hpp_fmt() using hpp_fmt_data
authorNamhyung Kim <namhyung@kernel.org>
Fri, 7 Jun 2024 20:29:16 +0000 (13:29 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sun, 16 Jun 2024 04:04:04 +0000 (21:04 -0700)
commit8f6071a3dce40e6991877873699b84c4fb570ab3
tree61d10ad7ff55f4ffcfc42456d2ac4687cbb007c4
parentcc2621cecd0f9e248eb12e2b512804e1a1d38cbf
perf hist: Simplify __hpp_fmt() using hpp_fmt_data

The struct hpp_fmt_data is to keep the values for each group members so
it doesn't need to check the event index in the group.

Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240607202918.2357459-3-namhyung@kernel.org
tools/perf/ui/hist.c