From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348AbdBTNfC (ORCPT ); Mon, 20 Feb 2017 08:35:02 -0500 Received: from mga03.intel.com ([134.134.136.65]:17189 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752015AbdBTNe5 (ORCPT ); Mon, 20 Feb 2017 08:34:57 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,186,1484035200"; d="scan'208";a="50281106" From: Alexander Shishkin To: Peter Zijlstra , Ingo Molnar Cc: linux-kernel@vger.kernel.org, vince@deater.net, eranian@google.com, Arnaldo Carvalho de Melo , Alexander Shishkin Subject: [PATCH 0/4] perf, pt, coresight: AUX flags and VMX update Date: Mon, 20 Feb 2017 15:33:48 +0200 Message-Id: <20170220133352.17995-1-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, With the vmm_exclusive=0, PT seems to be much more usable on BDW now. This patchset does three things: * adds a flag to PERF_RECORD_AUX, signalling that a transaction has gaps in it (due to VMX root mode kicking in), * changes the AUX API slightly to allow for flags to be set at arbitrary points between perf_aux_output_begin() and perf_aux_output_end(), * restarts PT after VMXOFF. I also stole Will's patch from another patchset that adds EXPORT_SYMBOL_GPL to the AUX calls, which is not strictly relevant, but happens to touch the same area and is long overdue. The AUX flags patch is also based on Will's patch from that same context. Alexander Shishkin (2): perf: Add a flag for partial AUX records perf/x86/intel/pt: Handle VMX better Will Deacon (2): perf: Export AUX buffer helpers to modules perf: Keep AUX flags in the output handle arch/x86/events/intel/bts.c | 16 +++---- arch/x86/events/intel/pt.c | 55 +++++++++++++----------- arch/x86/events/intel/pt.h | 1 - drivers/hwtracing/coresight/coresight-etb10.c | 7 ++- drivers/hwtracing/coresight/coresight-etm-perf.c | 9 ++-- drivers/hwtracing/coresight/coresight-priv.h | 2 - drivers/hwtracing/coresight/coresight-tmc-etf.c | 7 ++- include/linux/coresight.h | 2 +- include/linux/perf_event.h | 8 ++-- include/uapi/linux/perf_event.h | 1 + kernel/events/ring_buffer.c | 38 +++++++++++----- 11 files changed, 81 insertions(+), 65 deletions(-) -- 2.11.0