From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: linux-next: Tree for Feb 4 Date: Thu, 5 Feb 2015 10:34:12 -0800 Message-ID: <20150205183412.GI5370@linux.vnet.ibm.com> References: <20150205001019.GA12362@linux.vnet.ibm.com> <20150205005716.GS5370@linux.vnet.ibm.com> <20150205015144.GT5370@linux.vnet.ibm.com> <54D3186F.7030500@sr71.net> <20150205130343.6ac0eda9@gandalf.local.home> <20150205130802.289a8be0@gandalf.local.home> <54D3B253.3050000@sr71.net> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from e38.co.us.ibm.com ([32.97.110.159]:45083 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752702AbbBESeU (ORCPT ); Thu, 5 Feb 2015 13:34:20 -0500 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Feb 2015 11:34:19 -0700 Content-Disposition: inline In-Reply-To: <54D3B253.3050000@sr71.net> Sender: linux-next-owner@vger.kernel.org List-ID: To: Dave Hansen Cc: Steven Rostedt , sedat.dilek@gmail.com, "Rafael J. Wysocki" , "Rafael J. Wysocki" , linux-next , LKML , Stephen Rothwell , Kristen Carlson Accardi , "H. Peter Anvin" , Rik van Riel , Mel Gorman On Thu, Feb 05, 2015 at 10:11:31AM -0800, Dave Hansen wrote: > On 02/05/2015 10:08 AM, Steven Rostedt wrote: > > --- a/include/trace/events/tlb.h > > +++ b/include/trace/events/tlb.h > > @@ -13,11 +13,13 @@ > > { TLB_LOCAL_SHOOTDOWN, "local shootdown" }, \ > > { TLB_LOCAL_MM_SHOOTDOWN, "local mm shootdown" } > > > > -TRACE_EVENT(tlb_flush, > > +TRACE_EVENT_CONDITION(tlb_flush, > > > > TP_PROTO(int reason, unsigned long pages), > > TP_ARGS(reason, pages), > > > > + TP_CONDITION(cpu_online(smp_processor_id())), > > That's a pretty reasonable fix, although it would be nice if the > debugging was easier to hit. Looks very good to me! Unless someone else speaks up, I will carry this patch. > Did I actually need to be > onlining/offlining CPUs to hit the splat that Sedat was reporting? Yep, you do need to offline at least one CPU to hit that splat. Thanx, Paul