[PATCH 3.18 04/47] tracing: Allocate the snapshot buffer before enabling probe

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit df62db5be2e5f070ecd1a5ece5945b590ee112e0 upstream. Currently the snapshot trigger enables the probe and then allocates the snapshot. If the

[PATCH 3.18 04/47] tracing: Allocate the snapshot buffer before enabling probe

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit df62db5be2e5f070ecd1a5ece5945b590ee112e0 upstream. Currently the snapshot trigger enables the probe and then allocates the snapshot. If the probe triggers