On Thu, 8 Feb 2018 12:20:14 +0100
Jiri Olsa wrote:
> 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_tra
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);
> + W
From: "Steven Rostedt (VMware)"
Add an interface that hooks to the ftrace function tracing to create events
based on functions. A new file is created in the tracefs file system called
function_events. Writing a function name followed by an empty set of
parenthesis will create an event that uses f
3 matches
Mail list logo