Re: [RFC][PATCH 1/2] tracing: Add help of snapshot feature when snapshot is empty

2013-03-06 Thread Hiraku Toyooka
(03/06/2013 10:49 PM), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When cat'ing the snapshot file, instead of showing an empty trace > header like the trace file does, show how to use the snapshot > feature. > > Also, this is a good place to show if the snapshot has been

[RFC][PATCH 1/2] tracing: Add help of snapshot feature when snapshot is empty

2013-03-06 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When cat'ing the snapshot file, instead of showing an empty trace header like the trace file does, show how to use the snapshot feature. Also, this is a good place to show if the snapshot has been allocated or not. Users may want to "pre allocate" the snapshot

[RFC][PATCH 1/2] tracing: Add help of snapshot feature when snapshot is empty

2013-03-06 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) srost...@redhat.com When cat'ing the snapshot file, instead of showing an empty trace header like the trace file does, show how to use the snapshot feature. Also, this is a good place to show if the snapshot has been allocated or not. Users may want to pre allocate

Re: [RFC][PATCH 1/2] tracing: Add help of snapshot feature when snapshot is empty

2013-03-06 Thread Hiraku Toyooka
(03/06/2013 10:49 PM), Steven Rostedt wrote: From: Steven Rostedt (Red Hat)srost...@redhat.com When cat'ing the snapshot file, instead of showing an empty trace header like the trace file does, show how to use the snapshot feature. Also, this is a good place to show if the snapshot has