Message ID | 20231020200846.99350-1-acme@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp1299647vqb; Fri, 20 Oct 2023 13:09:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGV/nj1nXe4ag60anLcBHR4z0Eu27ERlLrkJv83fRGgp19LTugA6FRttZQrjOdCxiIm5EQT X-Received: by 2002:a05:6a00:99e:b0:6be:265:1bf5 with SMTP id u30-20020a056a00099e00b006be02651bf5mr3243743pfg.24.1697832555634; Fri, 20 Oct 2023 13:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697832555; cv=none; d=google.com; s=arc-20160816; b=qppjPaKBCuIeb3fy62nNd+Pxd2XSWCMkUuCGlJDbQxjSrFb3JfhhUfotCSL1JtDf9L Tn6YLpZjHcJBkaBdXzDxB2VkjbHgjsV4HUngzUuuURzQpHyLVeozvMQ0tiv8v+BnmlR8 3ou2NydQkWqx0mUiedin6XWzJ+maFeg224S+AYNZUO9QK7PANrKatib6fF3wuJ9HPslS h0jG2KReWuP6bSc+mPKjrtJvMGsZzWTIQ9kLBw6JHpuemhlWEpaZq9Wz/fraAAQIRmKh Btfbb0LaraXSzdOLe1kFcryz87vaPLSA8MDGiAuKUZ1ESwMkXMFsDsNWyCE1YPNZY44J fcpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jwV+UfzaW8At5VLGozNWTNtYVPU3A8Y1NQ+s/wf6Zxw=; fh=DC9sbyKGdTJZ1nKKGKSkyUOawXB2MJ3phV88fOV5rf4=; b=MUKtp1jdC+Sa0n8lqHpMMRscCotvb23E7ISQAtZtS01tG6CrpYVAzE68qfTf6RJhx0 FBktnr18efHu/BW9CBsShG9piv4zp0MMIJy0Xq8A4aYiUz5DkUMpq5Q3h97QQJb6pGui cOajeo34hVOfb+NJBrd74MNdN7kmbW+dFPm4a/EwNp24dAi/fR8ONSAMfJXJBIAbPewP UmHGLgSrVAkvMv3kViA2yLMQU4JEdfGuOyTdiQTrWNyBInqu9Dt17vLvgMwJ8B0FDALR yfHy1+gZcGkknoPiFGo3SHJqKG/+CUO3AoMZTfKNHb02pR1KaBV6qcxYDPXxGFqturCM +OCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EYf4a+OR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n3-20020a654cc3000000b00565f0e91894si2383080pgt.394.2023.10.20.13.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:09:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EYf4a+OR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 37DFC83AEFFF; Fri, 20 Oct 2023 13:09:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230190AbjJTUJG (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Fri, 20 Oct 2023 16:09:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjJTUJF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Oct 2023 16:09:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05DB2D6B for <linux-kernel@vger.kernel.org>; Fri, 20 Oct 2023 13:09:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF142C433C7; Fri, 20 Oct 2023 20:08:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697832543; bh=Ut9daOcuRRD9l+ZL0uzgf+bMBQJQzFl0hfVsSHDlVRI=; h=From:To:Cc:Subject:Date:From; b=EYf4a+ORI5h5jjRlejSEcLpwemqffiv05jqD/AVDRCmAst99cs2nmaJLixh3CZAI4 fjVRIjsff42p1QXiyyvbD0LpAg4TWu0Ba2VOphxXXMDZiqXtuTmXZpW9ehfmRdL6FS RTCMInhZBZpTUBwEUIOq76gkXLdkn6gLAtmktvCvcdQoS6qHWwfeJ3T7Pg+72RwLnV 7/uzMVrrW9YHxl+4aiqfQCjTcoETeotlAjJJinDqzn3gcuYz0qVDZBO8/aixImLWRR 0AJ720RBtjVoXZ2yA71vS5ASMx2SxX6Pb1qynnbSsX5xdmTuoCfednoDxNsOI2K8Qm 50yzhH0eGiSJg== From: Arnaldo Carvalho de Melo <acme@kernel.org> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Ian Rogers <irogers@google.com>, Adrian Hunter <adrian.hunter@intel.com>, Clark Williams <williams@redhat.com>, Kate Carcia <kcarcia@redhat.com>, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo <acme@kernel.org>, Manu Bretelle <chantr4@gmail.com>, Wyes Karny <wyes.karny@amd.com>, Arnaldo Carvalho de Melo <acme@redhat.com> Subject: [GIT PULL] perf tools fixes for v6.6: 2nd batch Date: Fri, 20 Oct 2023 17:08:46 -0300 Message-ID: <20231020200846.99350-1-acme@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 13:09:11 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780306469820051939 X-GMAIL-MSGID: 1780306469820051939 |
Series |
[GIT,PULL] perf tools fixes for v6.6: 2nd batch
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.6-2-2023-10-20Message
Arnaldo Carvalho de Melo
Oct. 20, 2023, 8:08 p.m. UTC
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit e47749f1796d1df39a7eaae95f2784aaa43df57d:
perf jevent: fix core dump on software events on s390 (2023-09-17 15:51:57 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.6-2-2023-10-20
for you to fetch changes up to 4fa008a2db484024a5cb52676a1b1534dc82330c:
tools build: Fix llvm feature detection, still used by bpftool (2023-10-19 22:33:58 -0300)
----------------------------------------------------------------
perf tools fixes for v6.6: 2nd batch
- Fix regression in reading scale and unit files from sysfs for PMU
events, so that we can use that info to pretty print instead of
printing raw numbers:
# perf stat -e power/energy-ram/,power/energy-gpu/ sleep 2
Performance counter stats for 'system wide':
1.64 Joules power/energy-ram/
0.20 Joules power/energy-gpu/
2.001228914 seconds time elapsed
#
# grep -m1 "model name" /proc/cpuinfo
model name : Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
#
- The small llvm.cpp file used to check if the llvm devel files are present was
incorrectly deleted when removing the BPF event in 'perf trace', put it back
as it is also used by tools/bpf/bpftool, that uses llvm routines to do
disassembly of BPF object files.
- Fix use of addr_location__exit() in dlfilter__object_code(), making sure that
it is only used to pair a previous addr_location__init() call.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
----------------------------------------------------------------
Adrian Hunter (2):
perf dlfilter: Fix use of addr_location__exit() in dlfilter__object_code()
perf dlfilter: Add a test for object_code()
Arnaldo Carvalho de Melo (1):
tools build: Fix llvm feature detection, still used by bpftool
Wyes Karny (1):
perf pmu: Fix perf stat output with correct scale and unit
tools/build/feature/test-llvm.cpp | 14 +++++++++++++
tools/perf/dlfilters/dlfilter-test-api-v0.c | 12 ++++++++++-
tools/perf/dlfilters/dlfilter-test-api-v2.c | 12 ++++++++++-
tools/perf/util/dlfilter.c | 32 ++++++++++++++---------------
tools/perf/util/pmu.c | 8 ++++----
5 files changed, 55 insertions(+), 23 deletions(-)
create mode 100644 tools/build/feature/test-llvm.cpp
Comments
The pull request you sent on Fri, 20 Oct 2023 17:08:46 -0300:
> git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.6-2-2023-10-20
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9c5d00cb7b6bbc5a7965d9ab7d223b5402d1f02c
Thank you!