Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933433AbbLGVew (ORCPT ); Mon, 7 Dec 2015 16:34:52 -0500 Received: from smtprelay0185.hostedemail.com ([216.40.44.185]:35375 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932676AbbLGVdq convert rfc822-to-8bit (ORCPT ); Mon, 7 Dec 2015 16:33:46 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::,RULES_HIT:41:152:355:379:541:599:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2895:3138:3139:3140:3141:3142:3622:3865:3866:3867:3870:3874:4321:5007:6261:7875:10004:10400:10848:10967:11026:11232:11658:11783:11914:12043:12517:12519:12740:13069:13311:13357:14659:21080:21212:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: frog52_388948d0e70b X-Filterd-Recvd-Size: 1595 Date: Mon, 7 Dec 2015 16:33:43 -0500 From: Steven Rostedt To: Benjamin Herrenschmidt Cc: Denis Kirjanov , Michael Ellerman , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs Message-ID: <20151207163343.0ea2f1bb@gandalf.local.home> In-Reply-To: <1449522135.21036.11.camel@kernel.crashing.org> References: <1448389419-5296-1-git-send-email-kda@linux-powerpc.org> <1448389419-5296-2-git-send-email-kda@linux-powerpc.org> <20151207155224.2a8d71dd@gandalf.local.home> <1449522135.21036.11.camel@kernel.crashing.org> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 20 On Tue, 08 Dec 2015 08:02:15 +1100 Benjamin Herrenschmidt wrote: > On Mon, 2015-12-07 at 15:52 -0500, Steven Rostedt wrote: > > > +     TP_CONDITION(cpu_online(smp_processor_id())), > > > + > > This should probably be some kind of __raw version though, hcalls can > be called in contexts where the debug stuff in smp_processor_id() isn't > safe (or preempt enabled). > OK, then that needs to be updated. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/