]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf header: Add utility to convert feature number to a string
authorIan Rogers <irogers@google.com>
Wed, 1 Apr 2026 16:13:18 +0000 (09:13 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 3 Apr 2026 02:35:16 +0000 (19:35 -0700)
commit8cc518735beb879c51df712a5ce5893c02f81b12
treee7d529ddd46566dfa7716df4ec50c73d97124cbc
parent623030fd0ad59ecc4197b0c0f8dd066a0f0598b3
perf header: Add utility to convert feature number to a string

For logging and debug messages it can be convenient to convert a
feature number to a name. Add header_feat__name for this and reuse the
data already within the feat_ops struct.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/header.c
tools/perf/util/header.h