Messages in this thread | | | From | Florian Fischer <> | Subject | [PATCH v5] perf list: print all available tool events | Date | Wed, 20 Apr 2022 19:42:43 +0200 |
| |
>> 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
| |