From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758148Ab3FTSfe (ORCPT ); Thu, 20 Jun 2013 14:35:34 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:53870 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758034Ab3FTSfc (ORCPT ); Thu, 20 Jun 2013 14:35:32 -0400 Message-ID: <51C34B70.60808@gmail.com> Date: Thu, 20 Jun 2013 12:35:28 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Steven Rostedt CC: Oleg Nesterov , Peter Zijlstra , Frederic Weisbecker , Ingo Molnar , Masami Hiramatsu , Srikar Dronamraju , "zhangwei(Jovi)" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] tracing/perf: perf_trace_buf/perf_xxx hacks. References: <20130618192147.GA19443@redhat.com> <20130619121039.GA19225@twins.programming.kicks-ass.net> <20130619152844.GA9176@redhat.com> <20130619175139.GA20454@redhat.com> <51C1FD7F.9090606@gmail.com> <20130619195822.GA16489@redhat.com> <1371752633.18733.96.camel@gandalf.local.home> In-Reply-To: <1371752633.18733.96.camel@gandalf.local.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/20/13 12:23 PM, Steven Rostedt wrote: > > I ran this: > > perf stat --repeat 100 -- perf bench sched pipe > /tmp/perf-bench-sched.{before, after} You want to compare: perf stat --repeat 100 -p 1 -- perf bench sched pipe so that event is tagged to pid 1 and not the perf-bench workload. David