From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933526Ab3FRQaq (ORCPT ); Tue, 18 Jun 2013 12:30:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6765 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933394Ab3FRQam (ORCPT ); Tue, 18 Jun 2013 12:30:42 -0400 Date: Tue, 18 Jun 2013 18:24:47 +0200 From: Oleg Nesterov To: Steven Rostedt Cc: Masami Hiramatsu , Frederic Weisbecker , Ingo Molnar , Srikar Dronamraju , "zhangwei(Jovi)" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] tracing: more list_empty(perf_events) checks Message-ID: <20130618162447.GA5877@redhat.com> References: <20130617170142.GA19780@redhat.com> <20130617201818.GA12349@redhat.com> <1371504473.18733.27.camel@gandalf.local.home> <20130618144635.GB26920@redhat.com> <1371570100.18733.30.camel@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371570100.18733.30.camel@gandalf.local.home> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/18, Steven Rostedt wrote: > > On Tue, 2013-06-18 at 16:46 +0200, Oleg Nesterov wrote: > > > > Perhaps you are trying to say that this patch needs more work... > > > > Just because it can't be compiled? Pedant. > > No, just because when I first looked at it, I didn't think it would, And your intuition was correct. It can't be compiled if you also change TRACE_EVENT(sched_stat_runtime) to use TP_perf_arg(__count, runtime). Hopefully this can be fixed by - TRACE_EVENT(...) + DECLARE_EVENT_CLASS(...) + DEFINE_EVENT(...) Oleg.