Masami Hiramatsu a039480e9e tracing/probe: Verify alloc_trace_*probe() result
Since alloc_trace_*probe() returns -EINVAL only if !event && !group,
it should not happen in trace_*probe_create(). If we catch that case
there is a bug. So use WARN_ON_ONCE() instead of pr_info().

Link: http://lkml.kernel.org/r/155253785078.14922.16902223633734601469.stgit@devnote2

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2019-03-14 19:54:21 -04:00
..
2018-11-26 18:41:21 -05:00
2018-11-26 18:41:21 -05:00
2018-12-19 13:52:44 -05:00
2019-01-21 11:15:38 +01:00
2018-12-28 12:42:30 -08:00
2019-01-15 09:43:12 -08:00
2019-01-11 18:05:40 -08:00
2019-02-01 15:46:23 -08:00