Commit 3be4c1e5 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

tracing: Allow histogram triggers to access ftrace internal events



Now that trace_marker can have triggers, including a histogram triggers, the
onmatch() and onmax() access the trace event. To do so, the search routine
to find the event file needs to use the raw __find_event_file() that does
not filter out ftrace events.

Reviewed-by: default avatarNamhyung Kim <namhyung@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 4a0772cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2865,7 +2865,7 @@ static struct trace_event_file *event_file(struct trace_array *tr,
{
	struct trace_event_file *file;

	file = find_event_file(tr, system, event_name);
	file = __find_event_file(tr, system, event_name);
	if (!file)
		return ERR_PTR(-EINVAL);