Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 12:15:47 +0900 Namhyung Kim wrote: > > @@ -124,6 +128,16 @@ enum { > > FUNC_TYPE_MAX > > }; > > > > +#define MAX_STR512 > > + > > +/* Two contexts, normal and NMI, hence the " * 2" */ > > +struct func_string { > > + char

Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Steven Rostedt
On Fri, 9 Feb 2018 12:15:47 +0900 Namhyung Kim wrote: > > @@ -124,6 +128,16 @@ enum { > > FUNC_TYPE_MAX > > }; > > > > +#define MAX_STR512 > > + > > +/* Two contexts, normal and NMI, hence the " * 2" */ > > +struct func_string { > > + charbuf[MAX_STR * 2]; > >

Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:13PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add a "string" type that will create a dynamic length string for the > event, this is the same as the __string() field in normal TRACE_EVENTS. > > [ missing 'static' found

Re: [PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-08 Thread Namhyung Kim
On Fri, Feb 02, 2018 at 06:05:13PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add a "string" type that will create a dynamic length string for the > event, this is the same as the __string() field in normal TRACE_EVENTS. > > [ missing 'static' found by Fengguang Wu's

[PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-02 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add a "string" type that will create a dynamic length string for the event, this is the same as the __string() field in normal TRACE_EVENTS. [ missing 'static' found by Fengguang Wu's kbuild test robot ] Signed-off-by: Steven Rostedt (VMware)

[PATCH 15/18] tracing: Add string type for dynamic strings in function based events

2018-02-02 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add a "string" type that will create a dynamic length string for the event, this is the same as the __string() field in normal TRACE_EVENTS. [ missing 'static' found by Fengguang Wu's kbuild test robot ] Signed-off-by: Steven Rostedt (VMware) ---