[PATCH 5.18 509/879] perf parse-events: Support different format of the topdown event name