[v2,0/3] perf list libpfm fixes

Message ID 20221118024607.409083-1-irogers@google.com
Headers
Series perf list libpfm fixes |

Message

Ian Rogers Nov. 18, 2022, 2:46 a.m. UTC
  Fix a lack of libpfm support with the refactored perf list code. Add
some improvements to wordwrap and the escape printing for json to aid
this.

v2. Rebased on acme/linux.git tmp.perf/core

Ian Rogers (3):
  perf list: Support newlines in wordwrap
  perf list: Json escape encoding improvements
  perf list: List callback support for libpfm

 tools/perf/builtin-list.c | 120 +++++++++++++++++------------
 tools/perf/util/pfm.c     | 154 +++++++++++++++++---------------------
 tools/perf/util/pfm.h     |   6 +-
 3 files changed, 144 insertions(+), 136 deletions(-)
  

Comments

Arnaldo Carvalho de Melo Nov. 24, 2022, 1:06 p.m. UTC | #1
Em Thu, Nov 17, 2022 at 06:46:04PM -0800, Ian Rogers escreveu:
> Fix a lack of libpfm support with the refactored perf list code. Add
> some improvements to wordwrap and the escape printing for json to aid
> this.
> 
> v2. Rebased on acme/linux.git tmp.perf/core

Applied, and added missing __maybe_unused to the HAVE_LIBPFM else block
for the new function args.

- Arnaldo
 
> Ian Rogers (3):
>   perf list: Support newlines in wordwrap
>   perf list: Json escape encoding improvements
>   perf list: List callback support for libpfm
> 
>  tools/perf/builtin-list.c | 120 +++++++++++++++++------------
>  tools/perf/util/pfm.c     | 154 +++++++++++++++++---------------------
>  tools/perf/util/pfm.h     |   6 +-
>  3 files changed, 144 insertions(+), 136 deletions(-)
> 
> -- 
> 2.38.1.584.g0f3c55d4c2-goog