Re: [PATCH 5/5] perf list: specify metrics are to be used with -M

2019-09-19 Thread Andi Kleen
> This misleads the uninitiated user to try: > > $ perf stat -e C2_Pkg_Residency Actually I guess we could just fix -e to support metrics too. Would probably not be that difficult. -Andi

[PATCH 5/5] perf list: specify metrics are to be used with -M

2019-09-19 Thread Kim Phillips
Output of 'perf list metrics' before: $ perf list metrics List of pre-defined events (to be used in -e): Metrics: C2_Pkg_Residency [C2 residency percent per package] ... This misleads the uninitiated user to try: $ perf stat -e C2_Pkg_Residency which gets: event