diff options
author | 2014-11-06 16:38:28 -0500 | |
---|---|---|
committer | 2014-11-19 22:01:13 -0500 | |
commit | eeab98154dc0b49afd398afdd71c464a8af5911f (patch) | |
tree | d460d6f09a6a8160113d81efb6a4abe080c109c3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tracing: Add a seq_buf_clear() helper and clear len and readpos in init (diff) | |
download | linux-dev-eeab98154dc0b49afd398afdd71c464a8af5911f.tar.xz linux-dev-eeab98154dc0b49afd398afdd71c464a8af5911f.zip |
seq_buf: Create seq_buf_used() to find out how much was written
Add a helper function seq_buf_used() that replaces the SEQ_BUF_USED()
private macro to let callers have a method to know how much of the
seq_buf was written to.
Link: http://lkml.kernel.org/r/20141114011412.170377300@goodmis.org
Link: http://lkml.kernel.org/r/20141114011413.321654244@goodmis.org
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions