tracing: create generic trace parser
authorjolsa@redhat.com <jolsa@redhat.com>
Fri, 11 Sep 2009 15:29:27 +0000 (17:29 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 11 Sep 2009 18:46:55 +0000 (14:46 -0400)
commitb63f39ea50330f836e301ddda21c6a93dcf0d6a3
tree3fb5a88ca19da6417a52b83eff585b9413bfb9c9
parentf81c972d27c36729e65d4a815e3d7b782a540bad
tracing: create generic trace parser

Create a "trace_parser" that can parse the user space input for
separate words.

struct trace_parser is the descriptor.

Generic "trace_get_user" function that can be a helper to read multiple
words passed in by user space.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
LKML-Reference: <1252682969-3366-2-git-send-email-jolsa@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h