lkml.org 
[lkml]   [2015]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracing: Export key trace event symbols
On Tue, 21 Apr 2015 07:19:30 -0500
Ron Rechenmacher <ron@fnal.gov> wrote:

> I see in the reference I mentioned below (https://patches.linaro.org/28821/),
> and in the current mm source, that some tracepoint symbols are already EXPORTed,
> but not _GPL. I do not know the fine points between "GPL-ed" and "non-GPL-ed" symbol
> exporting. Would it make a difference if my patch proposed non-GPL exporting?

The only reason there's non GPL exports for tracepoints is because
tracepoints were used in header files, and called by static inlines
like kfree() and such that were already exported non-gpl.

I believe we removed all tracepoints from static inlines and headers
because they were causing other problems (you don't want tracepoint
code inlined all over the place, it bloats the kernel).

I may look into cleaning up the kernel and removing the
EXPORT_TRACEPOINT_SYMBOL().

-- Steve


\
 
 \ /
  Last update: 2015-04-21 16:21    [W:0.058 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site