lkml.org 
[lkml]   [2022]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5] perf list: print all available tool events
Date
>> 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

\
 
 \ /
  Last update: 2022-04-20 19:43    [W:0.118 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site