From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F03E9C433FE for ; Thu, 24 Nov 2022 13:06:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229754AbiKXNGf (ORCPT ); Thu, 24 Nov 2022 08:06:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbiKXNGd (ORCPT ); Thu, 24 Nov 2022 08:06:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBD55FBA91; Thu, 24 Nov 2022 05:06:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6EE51B827EE; Thu, 24 Nov 2022 13:06:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE8BEC43154; Thu, 24 Nov 2022 13:06:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669295190; bh=5atKmu+LimHjj9MQX9Ir5iz49+5tOoSHFNYiiXlQhB4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Yi6PQLXRnLDZDM3rdl1alX91n056o3/UviZKosI/TA1h55aPt5R9DtjjJhl3H/FY1 Y7key/Zd415uyA8OgkYvD+BjCYJXDWmbY03LNlXW6GNkFuDO19cebjZDtJXfsSoC/V nbx6I1XZdE5QyA5K0mUC2ZJ979BRITJwSie52rbaRz+ens07si+fkpcJ2ZywRSEoZu k1zSv0fZU+RZspX0zEE/8E4tFWwNvwQmTdQzZvEr+VxxQAra4jQ7XFVC2O5hChf/J+ ouBxzk8u89ol3hY7GSz3iNJ14jjDV2Ivbx0DMdKUsGd2SwaT50I0Id+/UO8MT5nDkF UEPiYevX+zPcA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 2C6924034E; Thu, 24 Nov 2022 10:06:27 -0300 (-03) Date: Thu, 24 Nov 2022 10:06:27 -0300 From: Arnaldo Carvalho de Melo To: Ian Rogers Cc: Weilin Wang , Perry Taylor , Caleb Biggers , Leo Yan , Adrian Hunter , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Sandipan Das , Kajol Jain , Zhengjun Xing , Kan Liang , Ravi Bangoria , Xin Gao , Rob Herring , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH v2 0/3] perf list libpfm fixes Message-ID: References: <20221118024607.409083-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221118024607.409083-1-irogers@google.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org 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 -- - Arnaldo