]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf evsel: Make unknown event names more unique
authorIan Rogers <irogers@google.com>
Wed, 1 Apr 2026 16:13:23 +0000 (09:13 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 3 Apr 2026 02:35:17 +0000 (19:35 -0700)
commitb1e814f860c758c289dc63825caf322e2cb5e298
treecd1933c30d4ab24c404d7e84c0ed64e12f2d1be6
parentfbfdf3143271ca695061fa5882651bb512832044
perf evsel: Make unknown event names more unique

In situations like the perf data converter the evsel__name will be
used to create babeltrace events. If the events have the same name
then creation can fail. Avoid these failures by including more
information into the unknown event names.

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