Messages in this thread | | | Date | Tue, 21 Apr 2015 09:38:20 -0400 | From | Steven Rostedt <> | Subject | Re: [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
| |