Re: [PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-15 Thread Masami Hiramatsu
(2013/10/11 23:04), Tom Zanussi wrote: > On Fri, 2013-10-11 at 22:47 +0900, Masami Hiramatsu wrote: >> (2013/10/11 9:48), Tom Zanussi wrote: >>> /** >>> + * tracing_alloc_snapshot - allocate snapshot buffer. >>> + * >>> + * This only allocates the snapshot buffer if it isn't already >>> + * alloca

Re: [PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-11 Thread Tom Zanussi
On Fri, 2013-10-11 at 22:47 +0900, Masami Hiramatsu wrote: > (2013/10/11 9:48), Tom Zanussi wrote: > > /** > > + * tracing_alloc_snapshot - allocate snapshot buffer. > > + * > > + * This only allocates the snapshot buffer if it isn't already > > + * allocated - it doesn't also take a snapshot. > >

Re: [PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-11 Thread Masami Hiramatsu
(2013/10/11 9:48), Tom Zanussi wrote: > /** > + * tracing_alloc_snapshot - allocate snapshot buffer. > + * > + * This only allocates the snapshot buffer if it isn't already > + * allocated - it doesn't also take a snapshot. > + * > + * This is meant to be used in cases where the snapshot buffer ne

[PATCH v10 04/12] tracing: Add 'snapshot' event trigger command

2013-10-10 Thread Tom Zanussi
Add 'snapshot' event_command. snapshot event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'snapshot' ftrace function command, but instead of writing to the set_ftrace_filter file, the snapshot event trigger is written to th