From patchwork Mon Apr 24 05:51:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 8579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2533865vqo; Sun, 23 Apr 2023 23:16:04 -0700 (PDT) X-Google-Smtp-Source: AKy350apHz3tHZnJcx+KioqzquVOLRaofc2YNmWxxqGVWirNxTy0v/6HbXpSA6wDS7K9FAHnvnTl X-Received: by 2002:a05:6a20:6a23:b0:f0:86ce:d02c with SMTP id p35-20020a056a206a2300b000f086ced02cmr15576666pzk.16.1682316964379; Sun, 23 Apr 2023 23:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682316964; cv=none; d=google.com; s=arc-20160816; b=VtLNm5xza17kvrQYAb0ZC5BFPopv2kp5FoPxN2TTAYDRs+snOmviTVuK/TjtCQQGJ5 pgNUuK7mZe8LZTb3BE7shP5N5C3JxWpKJW67cYsRgukcm+hgxkPtWn4eU9NhL08DRw4D kfnxlQoxTt+/ORRx+Fjbh5TqWkn397G7BXRatMLoGyTBjhQ4ApaRDQzA/It6uU7QcHMZ OFGPerU8C0F+HE6KAVinOKZ3x0ML2juucljfLKGKmXed8kPpRoM1K+OilGClt4IbTaOC 5sPe14yiykdEUtvnvRqnNTDDhk8lWhwNz9Q1NHUoZ2KJfNVNSZ4MVf2Ry5avPAY/5fXU nYjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=QN97Km5J7sgmzh48+H7tDCfB+L5a/AdukHT/oupgLyI=; b=EEdJXbmZUC/7ZEXNH0wklvF6kNj4k0UavShDKC6McXwNbZKjyDL1UkOwoTP2bQTpNP 6JCvzsLE4sBVB8/8+a4bw/04Y2baJp9cqTPiHebcFn2QHYmdh9HHwz4wlOmeLScTrZeK fPmUPwnD2/uywVoMvzj0kgTiD7TYC8llfcwPuuNe5+YXMESQrjQOzuavtNunE+ISDGmh mZDTjNnNOsC/YYZUApf2U0B1USr3GoK9Ld7YkeW7SSQuVRgqGQ6XOsYE0Js1nuUAJQKG 1Rl6PVU3V+/mWPphwvagArcBy/6CVpuWQtqaj3Rtef4fCjBkoUIi1F/JeRW3IpGMfjbF gqTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=agF+xZQt; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e127-20020a636985000000b00524ecf898a2si6455286pgc.359.2023.04.23.23.15.52; Sun, 23 Apr 2023 23:16:04 -0700 (PDT) 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=@intel.com header.s=Intel header.b=agF+xZQt; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231289AbjDXF4G (ORCPT + 99 others); Mon, 24 Apr 2023 01:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231252AbjDXFzt (ORCPT ); Mon, 24 Apr 2023 01:55:49 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C1B49E3; Sun, 23 Apr 2023 22:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682315696; x=1713851696; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=tMJI/saaFHcCMI1QKL7TYLYdtQJfus1WJg0qmpoA4SU=; b=agF+xZQtxlaYqhJrqDrXY6OYC0Mn6chcRD6kS/VCH2bnzMSUWU3XVrR3 slqXYAT9ge9uQmbxbkbJhBzuAqvyfo/HvyvoYc+IoxlHqHpcyakTA3GHX 1N8V0iJD/IujH8LJtQODNDkzHrZ5GNIF4uPTuVZ2fTuzFvJvQdrLfp1aX ZD+TaMolNUe/eXxFScgeEsKcDM7usBy+Soc1nH2rCwnUit3XFCB1AlbUn 0E7KN3h5mGuHSa8gZ8l+5RhW2FmKThWuVu5HstBo3E/wdPcSvN+6tr4Ri p/8WPAD+wWOlju6gC8ISzvrojdDd8/DiVTo2EN4PZr5vP7QzYXbNFKwMy g==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="325972494" X-IronPort-AV: E=Sophos;i="5.99,221,1677571200"; d="scan'208";a="325972494" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 22:51:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="686669239" X-IronPort-AV: E=Sophos;i="5.99,221,1677571200"; d="scan'208";a="686669239" Received: from faerberc-mobl2.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.252.58.217]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 22:51:28 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Changbin Du Subject: [PATCH 0/2] perf script: Refine printing of dso offset (dsoff) Date: Mon, 24 Apr 2023 08:51:05 +0300 Message-Id: <20230424055107.12105-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764036490825477723?= X-GMAIL-MSGID: =?utf-8?q?1764037193531701913?= Hi Here is a refinement to patches from Changbin Du that add dsoff: https://lore.kernel.org/linux-perf-users/20230418031825.1262579-1-changbin.du@huawei.com/T/#t Adrian Hunter (2): perf dso: Declare dso const as needed perf script: Refine printing of dso offset tools/perf/util/dso.c | 33 +++++++++++++++++++++++++++++++++ tools/perf/util/dso.h | 8 +++++--- tools/perf/util/map.c | 23 +++++++++++++++++++---- 3 files changed, 57 insertions(+), 7 deletions(-) Regards Adrian