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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B9FECA9EC7 for ; Tue, 5 Nov 2019 08:27:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74DB020818 for ; Tue, 5 Nov 2019 08:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387916AbfKEI1L (ORCPT ); Tue, 5 Nov 2019 03:27:11 -0500 Received: from mga04.intel.com ([192.55.52.120]:44760 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387675AbfKEI1L (ORCPT ); Tue, 5 Nov 2019 03:27:11 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2019 00:27:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,270,1569308400"; d="scan'208";a="212493679" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 05 Nov 2019 00:27:08 -0800 From: Alexander Shishkin To: Peter Zijlstra Cc: Arnaldo Carvalho de Melo , Ingo Molnar , linux-kernel@vger.kernel.org, Jiri Olsa , Alexander Shishkin Subject: [PATCH 0/2] perf/x86/intel/pt: Optimizations Date: Tue, 5 Nov 2019 10:26:59 +0200 Message-Id: <20191105082701.78442-1-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.24.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, The first one was earlier part of the AUX sampling patchset, but wasn't strictly sampling related. The second one is based on an observation that between high-order AUX allocations and the Single Range output, we don't have to reprogram buffer-related MSRs all of the time. Alexander Shishkin (2): perf/x86/intel/pt: Opportunistically use single range output mode perf/x86/intel/pt: Prevent redundant WRMSRs arch/x86/events/intel/pt.c | 129 ++++++++++++++++++++++++++++--------- arch/x86/events/intel/pt.h | 14 ++-- 2 files changed, 109 insertions(+), 34 deletions(-) -- 2.24.0.rc1