[PATCH 17/26 v5] tracing: Add a seq_buf_clear() helper and clear len and readpos in init

2014-11-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add a helper function seq_buf_clear() that resets the len and readpos fields of a seq_buf. Currently it is only used in the seq_buf_init() but will be used later when updating the seq_file code. Link: http://lkml.kernel.org/r/20141104160222.352309...@goodmis.org

[PATCH 17/26 v5] tracing: Add a seq_buf_clear() helper and clear len and readpos in init

2014-11-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Add a helper function seq_buf_clear() that resets the len and readpos fields of a seq_buf. Currently it is only used in the seq_buf_init() but will be used later when updating the seq_file code. Link: