diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2017-09-22 14:58:20 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-04 13:06:44 -0400 |
commit | 7e465baa80293ed5f87fdf6405391d6f02110d4e (patch) | |
tree | 40a6b941abec3c55aab686dc9dfed42f12c43693 /lib/test_kasan.c | |
parent | 4f36c2d85cedea60ad424d44534121ab0458069e (diff) |
tracing: Make traceprobe parsing code reusable
traceprobe_probes_write() and traceprobe_command() actually contain
nothing that ties them to kprobes - the code is generically useful for
similar types of parsing elsewhere, so separate it out and move it to
trace.c/trace.h.
Other than moving it, the only change is in naming:
traceprobe_probes_write() becomes trace_parse_run_command() and
traceprobe_command() becomes trace_run_command().
Link: http://lkml.kernel.org/r/ae5c26ea40c196a8986854d921eb6e713ede7e3f.1506105045.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/test_kasan.c')
0 files changed, 0 insertions, 0 deletions