From patchwork Fri Oct 14 17:08:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 134 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp290262wrs; Fri, 14 Oct 2022 10:11:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5PaGEIjhSpLIo58sPSRIFNWdr3+rv7XHqvImjsd68Pbp+uSqOkBzryI4n+34AzzhMaOa1D X-Received: by 2002:a17:906:cc58:b0:78d:d47e:19f2 with SMTP id mm24-20020a170906cc5800b0078dd47e19f2mr4263011ejb.388.1665767496291; Fri, 14 Oct 2022 10:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665767496; cv=none; d=google.com; s=arc-20160816; b=MwfHqNzEToQKgs1W/qkpJfhcZFMibBpXl3vTOYwdcVP2KulibAzEETQAMEqWljtJ5d qmJivlEo+Z0fFQ7vY9HGXMwSCo4CeNXJtxrNa3lNjH+fC6clpssesyVhOSIt13zM/C36 IatFGyJhyx2xZ2qQsI/mPE3XhTVyOVa65irh2r81sw0PjB5BLrb/iuVuaEbAMt3e/e2k 6ha8xq8qo1hWHgC4H+qSC6Ez0GdQKNwh7zXSGLirlgST6BW53+EMPBwvH4XOvkVKvrxk jnjYpygfw9p+gCayH/Z6T40xTBZoJ0ImIEHQQAlp4JAKTkFM+37VYdguKRwyUtcBgFFe b94A== 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=L64rEJ+65WvdIBSKmtckAUZHAxT4qpnxXKLny2Vp7aI=; b=sZpr7OhxEsQeiHZh8WeFoCWdglY4EXT3ZIfka77v6cwqmTnsrjiAHvxnMWpPfK7/pL TR/LT/OgAWKvjOEXvLSBMObq/IfaT3nGWLtn3d/It07h5VKgydiHfysh+uPMFZzfmNed 6ENOGkg6zXkGjyTCRcZVbTmVOTgtWi15HV0+ECc8ydSX/6au1xDKiX5lIxobKfF/i+RF KSLkrUGEHv1pHFM6Ovijmor08h+b576zH4HM4Pve2qqDLiNe9P269wqZrj/dJsrXFsR1 GZwlZUQLpMFwa/op7JPLT/lEsqOo4d7dYQ3kgdRtYtI00ihVinsK17Me0T3RyB2BXDkI lgGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YLQFLgjO; 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 dv2-20020a170906b80200b0078d2848bca9si2335442ejb.704.2022.10.14.10.11.09; Fri, 14 Oct 2022 10:11:36 -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=YLQFLgjO; 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 S230323AbiJNRJb (ORCPT + 99 others); Fri, 14 Oct 2022 13:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbiJNRJ3 (ORCPT ); Fri, 14 Oct 2022 13:09:29 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17E5CC834; Fri, 14 Oct 2022 10:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665767368; x=1697303368; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=EowE/WYIM33IXc3RRSzpTiUcTLJHWnpccOlWK9V+Ju0=; b=YLQFLgjOHTvuJNqZa4iMHCUS1kwHRBf5x54faQLl4Vxve/Y6x4Dh/dWe 9sYRIRgv/ETZXAxrf8EynEBzCeAau/dMG6QQIGdfON6tjDKusz7s2/6iN VjCfzafvQsGh+VkKQqOJRKoNFPCEo9qNHIEQPeKnufQ9VKlZMZdYzii2G axcu9BDUpLwPp+nGqavm/odtKxzYXLeN0cqDR5SwAxkuqi4fNPtv3BqRJ 0gDCujba4TwRFFHLvOQWq/IRwLIoPjJETx8uHjqj2cSMI2+9pzuTIh/Ub fjR6+t7Yrai7pU2kJLXGFZhV88wIy/4Az0FJlj98kb6NkUgEmJxiwZ3Qs Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10500"; a="303041961" X-IronPort-AV: E=Sophos;i="5.95,184,1661842800"; d="scan'208";a="303041961" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2022 10:09:28 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10500"; a="696376895" X-IronPort-AV: E=Sophos;i="5.95,184,1661842800"; d="scan'208";a="696376895" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.252.43.79]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2022 10:09:26 -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 Subject: [PATCH 0/7] perf intel-pt: jitdump fix and test Date: Fri, 14 Oct 2022 20:08:58 +0300 Message-Id: <20221014170905.64069-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.25.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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE 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?1746683818257934869?= X-GMAIL-MSGID: =?utf-8?q?1746683818257934869?= Hi Here is a fix for perf inject --jit (patch 6) and an Intel PT test (patch 5) that fails unless the fix is applied. There is also another small fix, some tidy-ups and other new tests for the shell test test_intel_pt.sh. Adrian Hunter (6): perf test: test_intel_pt.sh: Fix return checking again perf test: test_intel_pt.sh: Tidy some perf record options perf test: test_intel_pt.sh: Print a message when skipping kernel tracing perf test: test_intel_pt.sh: Tidy some alignment perf test: test_intel_pt.sh: Add jitdump test perf inject: Fix GEN_ELF_TEXT_OFFSET for jit Ammy Yi (1): perf test: test_intel_pt.sh: Add 9 tests tools/perf/tests/shell/test_intel_pt.sh | 385 +++++++++++++++++++++++++++++++- tools/perf/util/genelf.h | 4 +- 2 files changed, 380 insertions(+), 9 deletions(-) Regards Adrian