[for-linus][PATCH] tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-07 Thread Steven Rostedt
Aug 6 12:46:49 2020 -0400 tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers As trace_array_printk() used with not global instances will not add noise to the main buffer, they are OK to have in the kernel (unlike trace_printk()). This require

Re: [PATCH v2] tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-06 Thread Steven Rostedt
On Thu, 6 Aug 2020 15:22:23 -0400 Sean Paul wrote: > > Changes since v1: > > Added EXPORT_SYMBOL_GPL() to trace_array_init_printk() as it is > > required for another function that is exported. > > Could we also add this to trace.h? That might be helpful, wouldn't it. kernel test robot ju

Re: [PATCH v2] tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-06 Thread Sean Paul
On Thu, Aug 6, 2020 at 2:46 PM Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > As trace_array_printk() used with not global instances will not add noise to > the main buffer, they are OK to have in the kernel (unlike trace_printk()). > This require the subsystem to create their own

Re: tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-06 Thread Sean Paul
On Thu, Aug 6, 2020 at 12:57 PM Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > As trace_array_printk() used with not global instances will not add noise to > the main buffer, they are OK to have in the kernel (unlike trace_printk()). > This require the subsystem to create their own

[PATCH v2] tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" As trace_array_printk() used with not global instances will not add noise to the main buffer, they are OK to have in the kernel (unlike trace_printk()). This require the subsystem to create their own tracing instance, and the trace_array_printk() only writes into t

tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers

2020-08-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" As trace_array_printk() used with not global instances will not add noise to the main buffer, they are OK to have in the kernel (unlike trace_printk()). This require the subsystem to create their own tracing instance, and the trace_array_printk() only writes into t