Re: [PATCH v3 4/7] tracing: Add conditional snapshot

2018-08-10 Thread Tom Zanussi
On Fri, 2018-08-10 at 16:02 +0900, Namhyung Kim wrote: > On Thu, Aug 09, 2018 at 09:34:14AM -0500, Tom Zanussi wrote: > > From: Tom Zanussi > > > > Currently, tracing snapshots are context-free - they capture the > > ring > > buffer contents at the time the tracing_snapshot() function was > > inv

Re: [PATCH v3 4/7] tracing: Add conditional snapshot

2018-08-10 Thread Namhyung Kim
On Thu, Aug 09, 2018 at 09:34:14AM -0500, Tom Zanussi wrote: > From: Tom Zanussi > > Currently, tracing snapshots are context-free - they capture the ring > buffer contents at the time the tracing_snapshot() function was > invoked, and nothing else. Additionally, they're always taken > unconditi

[PATCH v3 4/7] tracing: Add conditional snapshot

2018-08-09 Thread Tom Zanussi
From: Tom Zanussi Currently, tracing snapshots are context-free - they capture the ring buffer contents at the time the tracing_snapshot() function was invoked, and nothing else. Additionally, they're always taken unconditionally - the calling code can decide whether or not to take a snapshot, b