Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754667AbbDGMz4 (ORCPT ); Tue, 7 Apr 2015 08:55:56 -0400 Received: from smtprelay0136.hostedemail.com ([216.40.44.136]:42085 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753499AbbDGMzx (ORCPT ); Tue, 7 Apr 2015 08:55:53 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:2895:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:4362:5007:6261:7875:7903:9040:10004:10400:10848:10967:11232:11658:11914:12296:12517:12519:12555:12663:12740:13069:13184:13229:13311:13357:14096:14097:21080,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 X-HE-Tag: idea42_33199b50fd346 X-Filterd-Recvd-Size: 2455 Date: Tue, 7 Apr 2015 08:55:50 -0400 From: Steven Rostedt To: Johannes Berg Cc: LKML , linux-wireless@vger.kernel.org Subject: Re: [PATCH] mac80211: Move message tracepoints to their own header Message-ID: <20150407085550.7dc6aaed@gandalf.local.home> In-Reply-To: <1428389938.1841.1.camel@sipsolutions.net> References: <20150406231357.2b8e452d@grimm.local.home> <1428389938.1841.1.camel@sipsolutions.net> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1767 Lines: 57 On Tue, 07 Apr 2015 08:58:58 +0200 Johannes Berg wrote: > On Mon, 2015-04-06 at 23:13 -0400, Steven Rostedt wrote: > > Every tracing file must have its own TRACE_SYSTEM defined. > > Oh, that requirement is new to me. I also have the same in iwlwifi, with > even more TRACE_SYSTEMs. Well, it's new now :-) I never expected people to use more than one TRACE_SYSTEM in a single file, so I never documented that it shouldn't be done. I'm more worried about people using the same TRACE_SYSTEM in different files, which will probably break now too. I should update the comments about that. Hmm, I must have missed the iwlwifi part, as that should have not built with an allmodconfig :-/ > > > The mac80211 tracepoint header broke this and add in the middle > > of the file had: > > > > #undef TRACE_SYSTEM > > #define TRACE_SYSTEM mac80211_msg > > > > Unfortunately, this broke new code in the ftrace infrastructure. > > Moving the mac80211_msg into its own trace file with its own > > TRACE_SYSTEM defined fixes the issue. > > > > > Cc: Johannes Berg > > Signed-off-by: Steven Rostedt > > Looks fine to me. > > Reviewed-by: Johannes Berg Thanks! > > I could merge through my tree but I guess you'll want to put it through > a different one to be able to change the code that depends on this move. > Right, I'll need to pull this in my tree, as I have a set of patches dependent on this. -- 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/