Messages in this thread | | | Date | Thu, 12 Dec 2019 10:41:40 +0100 | From | Jiri Olsa <> | Subject | Re: [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
thanks, jirka
| |