[lttng-dev] [PATCH] Expose kernel tracer to user-space (version 7)
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu May 2 16:30:19 EDT 2013
* Thomas Petazzoni (thomas.petazzoni at free-electrons.com) wrote:
> Hello,
>
> Le Tue, 3 Jul 2012 15:29:12 +0200,
> Francis Giraldeau <francis.giraldeau at gmail.com> a écrit :
>
> > By writing to the file /proc/lttng_uevent, a user-space application creates a
> > kernel event. The event's payload is by default UTF-8 text, but any data can be
> > written. The maximum size of the data is at most the size of a packet defined
> > for the trace session. Null-character is optional and is not enforced. The
> > event uses sequence for space efficiency and to store any data as payload.
>
> Shouldn't this be in the debugfs filesystem rather than the proc
> filesystem? The debugfs filesystem already has entries for various
> tracing facilities of the Linux kernel, and adding entries in /proc
> that are not process-related is frowned upon these days.
yes, I think this infrastructure should belong in debugfs.
Thanks,
Mathieu
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list