[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/3] perf stat: Add --metric option
On Wed, Dec 11, 2019 at 03:02:23PM -0800, Andi Kleen wrote:
> > Currently only one metric can be passed to perf stat command.
> It's near certain that users will want more.

right, it was just convenient for the rfc ;-)

but I wonder we could keep it that way anyway and have:

current way of using pre-defined metrics:
# perf stat -M m1,m2,m3

simple/fast way of checking on metric:
# perf stat -m 'm4=....'

metric from user file:
# perf stat -M m5,m6 --metric-file=path


 \ /
  Last update: 2019-12-12 10:42    [W:0.033 / U:19.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site