Message ID | 20221116071259.2832681-1-irogers@google.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp251299dyb; Tue, 15 Nov 2022 23:25:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5YEqDYvGtNBuz3Z9VauKkxJFilN2//Frg+BykIPNEUnlA6nedNXO/JMPoqgm0+lf+opXaT X-Received: by 2002:a17:906:3017:b0:7ab:2de1:2e45 with SMTP id 23-20020a170906301700b007ab2de12e45mr17017014ejz.422.1668583507763; Tue, 15 Nov 2022 23:25:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668583507; cv=none; d=google.com; s=arc-20160816; b=r/JwmyD6krEKEqu7UntRHwHK83ynJFhA8IXGnXyTY8YlafrK7yPRE/B7FZEzJxqWM+ jUFrLTgf5l30ouZSVs9hJgmmlYDomEZ2amRutyArebRwd9nG4ncBsjw47eYssSxBQNl+ 4ToAXuk9vBIi9EtMGuGCiH78ij5mGVL3n3IAmCUXEOV4fWu80pPHrsXgLk7nY7rQw7va Gj5W+o1sLtDHBXU0ocPdRf0BzpZaThKGR3XuzuzHEkoVEcpVirShijZoDN4Qs7Jf2yNj qTpRIvwxV1DPBU8H0CtVxfcQvUnx8GKNT8W9iO/BwStS6RIJRwdWlgbnJyl6TOToJ2qT HFcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=WXJjn8PYB9SLY1j1q0EeB8Piy7lrBilE/8YOyXaTxKY=; b=BvjaeVBR9ic3wXRhOcZEN0ljvR04OFwKFl/KRyhs5dadKQ3mXuODKX95RkicfRLqsr UBT+vZNvJkG9hLQgYlD4Pt1ljdmhkZaoan5zj4dqC9SiqKj9xqQJe5snK5xN5fpm2oJw IMqT7gbuf3m4i70KX7/hnyCjopN5GTTzhaFtWgMBeA/Po18vwlhoJwdb46HR8JDc+6r1 z0QDwiiQHCI+U7X70A57gcr60HZlYIIyNB5tjr17GdSxESXq6Ja9wQZAbHGahJCrj9Gb 6zg7kyZnnkSOxtpweq1YXRLW+AKJh813+NEsp+y7VUeT9MArAkMcIb2NjzWb8grr2iQc 9QUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=R9DPkR8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f8-20020a50fc88000000b00461c8f80e34si11499950edq.53.2022.11.15.23.24.43; Tue, 15 Nov 2022 23:25:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=R9DPkR8U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232682AbiKPHNH (ORCPT <rfc822;maxim.cournoyer@gmail.com> + 99 others); Wed, 16 Nov 2022 02:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231594AbiKPHNE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 02:13:04 -0500 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 523491F9F2 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 23:13:04 -0800 (PST) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-37010fefe48so156384337b3.19 for <linux-kernel@vger.kernel.org>; Tue, 15 Nov 2022 23:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=WXJjn8PYB9SLY1j1q0EeB8Piy7lrBilE/8YOyXaTxKY=; b=R9DPkR8U/JCqLAjy/iASbJFaNlfs13ciAt/+B1Xr6//ErVax+n55QLO+EUZuvA+VfB 2pVuOsgmRzil/fEpWYMoEcLPRglB0Ehzkq21mYEGqsPs4A4YF+E5RMmBAoLmjWsO1eWj but174NBpm33mr/15kApu2yitVhNIprLILB8Msli2IKr+rakI4O7hv654m4STCOQAAJc j2jVVZLhQ2z94499I6GSdUIptbgySnp9m6CvRAfNWmRGy1mh7TscKwNCD5HF9mVnwVa7 94KF1dMAsMJviEXYeH3Ov9KuR2HUPm0jDJuKWxYnX4ALW14ApmAgvLI4MN0HT5hMBeb0 RvKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WXJjn8PYB9SLY1j1q0EeB8Piy7lrBilE/8YOyXaTxKY=; b=2Uec/m0lZFCGPtDtAnBxLUQnMjnCaeNxj25PJG+zG8U9Z/SM1+S4stz9bFUPamHHUh W/tvAC/bXAFxC2/i4t0T6we8MvG/IclVO5JNPB1lz4Lmh00gg2H55p9erWhVfeQsEY7Q 88Y5lDg7qqhQBLU2DiLvuD2Q51pkRp+o++XQY+tIGtJrUPV13YneW0Fhcw0tV1aQ6DM5 01O9U95uNbE6tTGhSAmXCAfGsZEh9BYwKGwALyQTX2ibo1cS+q3eMfOUxe/SdMalpz5F w0OkT6nKuRJ6MjVc+1mHcTks6Cguf1uQ6pIh4hTYynO+XQXdxMFqLjXERb0fHoJpc2mi a6yg== X-Gm-Message-State: ANoB5plYUaT9Casz8kQgqcPV8Q9tOewUGi3r6M8WaCo0CDlfreChAEko sr4BVQxoKQJN/51Yt7qoBgiTnwe4J2VV X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:bf0f:58f3:342e:c1ec]) (user=irogers job=sendgmr) by 2002:a25:d808:0:b0:6bd:d36:f096 with SMTP id p8-20020a25d808000000b006bd0d36f096mr20960547ybg.150.1668582783603; Tue, 15 Nov 2022 23:13:03 -0800 (PST) Date: Tue, 15 Nov 2022 23:12:55 -0800 Message-Id: <20221116071259.2832681-1-irogers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog Subject: [PATCH v1 0/4] perf list libpfm support and other fixes From: Ian Rogers <irogers@google.com> To: Weilin Wang <weilin.wang@intel.com>, Perry Taylor <perry.taylor@intel.com>, Caleb Biggers <caleb.biggers@intel.com>, Leo Yan <leo.yan@linaro.org>, Adrian Hunter <adrian.hunter@intel.com>, Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Sandipan Das <sandipan.das@amd.com>, Kajol Jain <kjain@linux.ibm.com>, Zhengjun Xing <zhengjun.xing@linux.intel.com>, Kan Liang <kan.liang@linux.intel.com>, Ravi Bangoria <ravi.bangoria@amd.com>, Xin Gao <gaoxin@cdjrlc.com>, Rob Herring <robh@kernel.org>, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Cc: Stephane Eranian <eranian@google.com>, Ian Rogers <irogers@google.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749636620090031556?= X-GMAIL-MSGID: =?utf-8?q?1749636620090031556?= |
Series |
perf list libpfm support and other fixes
|
|
Message
Ian Rogers
Nov. 16, 2022, 7:12 a.m. UTC
Fix an asan issue and a 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. Ian Rogers (4): perf list: Fix asan issue perf list: Support newlines in wordwrap perf list: Json escape encoding improvements perf list: List callback support for libpfm tools/perf/builtin-list.c | 122 ++++++++++++++++++------------ tools/perf/util/pfm.c | 154 +++++++++++++++++--------------------- tools/perf/util/pfm.h | 6 +- 3 files changed, 145 insertions(+), 137 deletions(-)
Comments
Em Tue, Nov 15, 2022 at 11:12:55PM -0800, Ian Rogers escreveu: > Fix an asan issue and a 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. > > Ian Rogers (4): > perf list: Fix asan issue > perf list: Support newlines in wordwrap > perf list: Json escape encoding improvements > perf list: List callback support for libpfm Please take a look at my reports, the patch just before the one having fixes in this series has some problems, so please check and fold the fixes for the JSON one. I thought I hadn't published that part, but realized I did and force pushed without the last two patches, to avoid breaking bisection before it hits upstream. - Arnaldo