From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263AbbHMJoA (ORCPT ); Thu, 13 Aug 2015 05:44:00 -0400 Received: from mga14.intel.com ([192.55.52.115]:29440 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752202AbbHMJn6 (ORCPT ); Thu, 13 Aug 2015 05:43:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,669,1432623600"; d="scan'208";a="783304527" From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Jiri Olsa Subject: [PATCH 0/2] perf tools: Add support for PERF_RECORD_SWITCH to Intel PT Date: Thu, 13 Aug 2015 12:40:55 +0300 Message-Id: <1439458857-30636-1-git-send-email-adrian.hunter@intel.com> X-Mailer: git-send-email 1.9.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Support to enable unprivileged users to see context switches of their own processes has recently been added to the kernel. These patches enhance Intel PT support to take advantage of that. The patches apply on top of the other Intel PT perf tools patches. Adrian Hunter (2): perf tools: Add a helper function to probe whether cpu-wide tracing is possible perf tools: Add support for PERF_RECORD_SWITCH to Intel PT tools/perf/arch/x86/util/intel-pt.c | 55 ++++++++++++--- tools/perf/util/evlist.h | 1 + tools/perf/util/intel-pt.c | 129 +++++++++++++++++++++++++++++------- tools/perf/util/record.c | 24 +++++++ 4 files changed, 176 insertions(+), 33 deletions(-) Regards Adrian