tracing/probe: Check event name length correctly
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 14 Mar 2019 04:30:20 +0000 (13:30 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 14 Mar 2019 23:53:47 +0000 (19:53 -0400)
commitdec65d79fd269d05427c8167090bfc9c3d0b56c4
treec9ccc1d69f4565b2cd00a46af3dc1a67f83d6219
parent287c038c0b994dae7569d96eca154f6a7ff6b4a9
tracing/probe: Check event name length correctly

Ensure given name of event is not too long when parsing it,
and fix to update event name offset correctly when the group
name is given. For example, this makes probe event to check
the "p:foo/" error case correctly.

Link: http://lkml.kernel.org/r/155253782046.14922.14724124823730168629.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_probe.c