[PATCH v5] perf list: print all available tool events
From: Florian Fischer
Date: Wed Apr 20 2022 - 13:43:31 EST
>> Introduce names for the new tool events 'user_time' and 'system_time'.
>
> Before:
>
> duration_time [Tool event]
>
> After:
>
> $ perf list | grep Tool
> duration_time OR [Tool event]
> user_time OR [Tool event]
> system_time OR [Tool event]
> $
>
> So now we have that extraneous "OR", can you please take a look?
> Probably needs to check if there is an alias?
>
> - Arnaldo
Sorry about that. Exactly as you guessed the code was missing a check if the tool
event actually has an alias.
Fixed Output:
$ perf list | grep Tool
duration_time [Tool event]
user_time [Tool event]
system_time [Tool event]
[v5]: Add missing alias check.
Florian Fischer