Re: [PATCH 03/18] tracing: Add simple arguments to function based events

2018-02-08 Thread Steven Rostedt
On Thu, 8 Feb 2018 19:18:18 +0900 Namhyung Kim wrote: call->event.type, > > @@ -150,6 +310,15 @@ static void func_event_trace(struct trace_event_file > > *trace_file, > > entry = ring_buffer_event_data(event); > > entry->ip = ip; > > ent

Re: [PATCH 03/18] tracing: Add simple arguments to function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:01PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The function based events can now have arguments passed in. A weak function > arch_get_func_args() is created so that archs can fill in the arguments > based on pt_regs. Currently no arch impleme

[PATCH 03/18] tracing: Add simple arguments to function based events

2018-02-02 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The function based events can now have arguments passed in. A weak function arch_get_func_args() is created so that archs can fill in the arguments based on pt_regs. Currently no arch implements this function, so no arguments are returned. Passing NULL for pt_regs