Re: [PATCH] tracing: Allow raw_syscall tracepoints to work from boot

2015-01-15 Thread Michael Ellerman
On Thu, 2015-01-15 at 08:58 -0500, Steven Rostedt wrote: > On Thu, 15 Jan 2015 17:10:40 +1100 > Michael Ellerman wrote: > > > > I like my version better, but your call. > > Of course you do :-) You've got to admit mine is a lot neater looking :) > I thought about it a bit, and both versions ar

Re: [PATCH] tracing: Allow raw_syscall tracepoints to work from boot

2015-01-15 Thread Steven Rostedt
On Thu, 15 Jan 2015 17:10:40 +1100 Michael Ellerman wrote: > > > > I don't like setting the swap task flag for syscall tracing, as > > nothing will unset it. > > We could unset it in the unregfunc(), I did that in my original patch > but took it out because I wasn't sure it was necessary. Yes

Re: [PATCH] tracing: Allow raw_syscall tracepoints to work from boot

2015-01-14 Thread Michael Ellerman
On Wed, 2015-01-14 at 13:03 -0500, Steven Rostedt wrote: > On Wed, 14 Jan 2015 09:35:17 +1100 > Michael Ellerman wrote: > > > In commit 5f893b2639b2 "tracing: Move enabling tracepoints to just after > > rcu_init()", tracing was enabled earlier in boot. > > > > This broke tracing of the raw_sysca

Re: [PATCH] tracing: Allow raw_syscall tracepoints to work from boot

2015-01-14 Thread Steven Rostedt
On Wed, 14 Jan 2015 09:35:17 +1100 Michael Ellerman wrote: > In commit 5f893b2639b2 "tracing: Move enabling tracepoints to just after > rcu_init()", tracing was enabled earlier in boot. > > This broke tracing of the raw_syscall tracepoints from boot using the > trace_event kernel parameter. > >

[PATCH] tracing: Allow raw_syscall tracepoints to work from boot

2015-01-13 Thread Michael Ellerman
In commit 5f893b2639b2 "tracing: Move enabling tracepoints to just after rcu_init()", tracing was enabled earlier in boot. This broke tracing of the raw_syscall tracepoints from boot using the trace_event kernel parameter. When the registration function for the raw_syscall tracepoints runs, it it