Re: [RFC PATCH -v2 1/4] trace events: Interface to add files to debugfs

2012-08-17 Thread Borislav Petkov
On Thu, Aug 16, 2012 at 06:06:48PM -0400, Steven Rostedt wrote: > > /mnt/dbg/tracing/events/mce/mce_record/ > > |-- enable > > |-- filter > > |-- format > > |-- id > > `-- persistent > > This looks rather hacky :-/ Ya think?! :-) Well, this whole machinery is only for telling to userspace which

Re: [RFC PATCH -v2 1/4] trace events: Interface to add files to debugfs

2012-08-16 Thread Steven Rostedt
On Thu, 2012-08-16 at 19:45 +0200, Borislav Petkov wrote: > From: Borislav Petkov > > This generic interface is supposed to be used to add files to > (debugfs)/tracing/events/// which are supposed to > export additional events functionality to users. > > For example, the file descriptor of a per

[RFC PATCH -v2 1/4] trace events: Interface to add files to debugfs

2012-08-16 Thread Borislav Petkov
From: Borislav Petkov This generic interface is supposed to be used to add files to (debugfs)/tracing/events/// which are supposed to export additional events functionality to users. For example, the file descriptor of a persistent event can be exported like this in the 'pers' node: /mnt/dbg/tr