From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756466AbbGGJGZ (ORCPT ); Tue, 7 Jul 2015 05:06:25 -0400 Received: from casper.infradead.org ([85.118.1.10]:49289 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbbGGJGR (ORCPT ); Tue, 7 Jul 2015 05:06:17 -0400 Date: Tue, 7 Jul 2015 11:06:04 +0200 From: Peter Zijlstra To: Adrian Hunter Cc: Andi Kleen , Arnaldo Carvalho de Melo , Ingo Molnar , linux-kernel@vger.kernel.org, Jiri Olsa , Stephane Eranian , mathieu.poirier@linaro.org, Pawel Moll Subject: Re: [PATCH V3 0/4] perf: Add PERF_RECORD_SWITCH to indicate context switches Message-ID: <20150707090604.GO3644@twins.programming.kicks-ass.net> References: <1436258202-6540-1-git-send-email-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436258202-6540-1-git-send-email-adrian.hunter@intel.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 07, 2015 at 11:36:38AM +0300, Adrian Hunter wrote: > Adrian Hunter (4): > perf: Add PERF_RECORD_SWITCH to indicate context switches > perf tools: Add new PERF_RECORD_SWITCH event > perf record: Add option --switch-events to select PERF_RECORD_SWITCH events > perf script: Add option --show-switch-events > > include/uapi/linux/perf_event.h | 20 +++++- > kernel/events/core.c | 102 +++++++++++++++++++++++++++++++ > tools/perf/Documentation/perf-record.txt | 3 + > tools/perf/Documentation/perf-script.txt | 3 + > tools/perf/builtin-inject.c | 1 + > tools/perf/builtin-record.c | 7 +++ > tools/perf/builtin-script.c | 31 ++++++++++ > tools/perf/perf.h | 1 + > tools/perf/util/event.c | 26 ++++++++ > tools/perf/util/event.h | 12 ++++ > tools/perf/util/evlist.h | 1 + > tools/perf/util/evsel.c | 4 ++ > tools/perf/util/machine.c | 10 +++ > tools/perf/util/machine.h | 2 + > tools/perf/util/record.c | 10 +++ > tools/perf/util/session.c | 16 +++++ > tools/perf/util/tool.h | 1 + > 17 files changed, 249 insertions(+), 1 deletion(-) Acme, Jiri, ACK on the tools bits?