Re: [PATCH 4/5] tracing: Handle the trace array ref counter in new functions

2019-10-22 Thread Steven Rostedt
On Wed, 16 Oct 2019 16:42:02 -0700 Divya Indi wrote: > Hi Steve, > > Thanks again for taking the time to review and providing feedback. Please > find my comments inline. > > On 10/15/19 4:04 PM, Steven Rostedt wrote: > > Sorry for taking so long to getting to these patches. > > > > On Wed, 14

Re: [PATCH 4/5] tracing: Handle the trace array ref counter in new functions

2019-10-16 Thread Divya Indi
Hi Steve, Thanks again for taking the time to review and providing feedback. Please find my comments inline. On 10/15/19 4:04 PM, Steven Rostedt wrote: Sorry for taking so long to getting to these patches. On Wed, 14 Aug 2019 10:55:26 -0700 Divya Indi wrote: For functions returning a trace

Re: [PATCH 4/5] tracing: Handle the trace array ref counter in new functions

2019-10-15 Thread Steven Rostedt
Sorry for taking so long to getting to these patches. On Wed, 14 Aug 2019 10:55:26 -0700 Divya Indi wrote: > For functions returning a trace array Eg: trace_array_create(), we need to > increment the reference counter associated with the trace array to ensure it > does not get freed when in use.

[PATCH 4/5] tracing: Handle the trace array ref counter in new functions

2019-08-14 Thread Divya Indi
For functions returning a trace array Eg: trace_array_create(), we need to increment the reference counter associated with the trace array to ensure it does not get freed when in use. Once we are done using the trace array, we need to call trace_array_put() to make sure we are not holding a refere