Re: [PATCH 01/20 v2] tracing: Add function based events

From: Jiri Olsa
Date: Thu Feb 08 2018 - 06:20:23 EST


On Wed, Feb 07, 2018 at 03:24:03PM -0500, Steven Rostedt wrote:

SNIP

> +
> +void create_function_event_file(struct dentry *d_tracer)
> +{
> + struct dentry *d;
> +
> + d = trace_create_file("function_events", 0644, d_tracer, NULL,
> + &func_event_fops);
> + WARN(!d, "Failed to create function_events file");
> +}

this fucntion seems like leftover.. can't see any code using it

jirka