[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220420174244.1741958-1-florian.fischer@muhq.space>
Date: Wed, 20 Apr 2022 19:42:43 +0200
From: Florian Fischer <florian.fischer@...q.space>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Xing Zhengjun <zhengjun.xing@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>
Subject: [PATCH v5] perf list: print all available tool events
>> 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
Powered by blists - more mailing lists