Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755108AbbDUNxP (ORCPT ); Tue, 21 Apr 2015 09:53:15 -0400 Received: from smtprelay0099.hostedemail.com ([216.40.44.99]:53753 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755050AbbDUNxN (ORCPT ); Tue, 21 Apr 2015 09:53:13 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::,RULES_HIT:41:355:379:541:569: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:2692:2901:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:5007:6119:6261:7875:7903:8957:10004:10400:10450:10455:10848:10967:11026:11232:11658:11914:12296:12517:12519:12663:12740:13069:13095:13161:13163:13180:13229:13311:13357:14096:14097:19904:19999:21063: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: bed12_38f753ed86727 X-Filterd-Recvd-Size: 2121 Date: Tue, 21 Apr 2015 09:53:10 -0400 From: Steven Rostedt To: Ron Rechenmacher Cc: Christoph Hellwig , Subject: Re: [PATCH] tracing: Export key trace event symbols Message-ID: <20150421095310.12370f88@gandalf.local.home> In-Reply-To: <55365002.4010707@fnal.gov> References: <553571C3.1060505@fnal.gov> <20150421061034.GA9253@infradead.org> <55363CDC.4000305@fnal.gov> <20150421122202.GA8708@infradead.org> <55364CF4.2090600@fnal.gov> <20150421132355.GA18161@infradead.org> <55365002.4010707@fnal.gov> 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: 1339 Lines: 37 On Tue, 21 Apr 2015 08:26:26 -0500 Ron Rechenmacher wrote: > But why export anything _GPL in the first place? > To make it clear that they are derivatives of the kernel. An export is just to allow modules access to the functions, they were not added for out of tree modules. Out of tree modules just happen to be lucky to have them available. Note, if you can present a good case to why they should be exported, then we should have no problem exporting them. But I just looked at your code, and I have some questions about it. EXPORT_SYMBOL( traceControl_p ); EXPORT_SYMBOL( traceEntries_p ); EXPORT_SYMBOL( traceNamLvls_p ); EXPORT_SYMBOL( trace_allow_printk ); You have non GPL exported functions. Why? Is this used by non GPL code? MODULE_LICENSE("GPL"); /* Get rid of taint message by declaring code as GPL */ That comment is very telling. Maybe I'm reading into things, but until we understand exactly why you need these symbols exported, we wont exported them. There's no kernel ABI that we must stick to. Only the user space ABI is what we keep stable. -- 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/