Re: [PATCH] tracing: Export key trace event symbols

From: Ron Rechenmacher
Date: Tue Apr 21 2015 - 09:21:24 EST


Hi Christoph,

My module, and information about it, can be found at:
https://cdcvs.fnal.gov/redmine/projects/trace
https://cdcvs.fnal.gov/redmine/projects/trace/repository/show/src_module
with the header at
https://cdcvs.fnal.gov/redmine/projects/trace/repository/raw/include/trace.h

It seems that you are the person that I have to convince in order to get
my patch accepted. Is this true?

Can you tell me how:
./kernel/trace/power-traces.c:17:EXPORT_TRACEPOINT_SYMBOL_GPL(power_start);
./kernel/trace/power-traces.c:19:EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
should be allowed (how it fits with your definition of the Linux kernel below) and
my proposed EXPORTS not?
I hope that you will not suggest removing the above 2 exports.

Thanks,
Ron

Christoph Hellwig wrote on 04/21/15 07:22:
Hi Ron,

the Linux kernel is not a shared library, but an integrated project
that happens to be split into loadable modules.

Please send your module that uses the tracepoints and we can start
discussing if it makes sense to exports the symbols for it, or if
we can implement it in a better way.


--
Ron Rechenmacher
Engineer
Fermi National Accelerator Laboratory
Batavia, IL 60510
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/