Lines Matching refs:gops
131 struct fgraph_ops *gops) in trace_graph_entry() argument
133 unsigned long *task_var = fgraph_get_task_var(gops); in trace_graph_entry()
134 struct trace_array *tr = gops->private; in trace_graph_entry()
164 if (ftrace_graph_ignore_func(gops, trace)) in trace_graph_entry()
242 struct fgraph_ops *gops) in trace_graph_return() argument
244 unsigned long *task_var = fgraph_get_task_var(gops); in trace_graph_return()
245 struct trace_array *tr = gops->private; in trace_graph_return()
252 ftrace_graph_addr_finish(gops, trace); in trace_graph_return()
272 struct fgraph_ops *gops) in trace_graph_thresh_return() argument
274 ftrace_graph_addr_finish(gops, trace); in trace_graph_thresh_return()
285 trace_graph_return(trace, gops); in trace_graph_thresh_return()
295 struct fgraph_ops *gops; in allocate_fgraph_ops() local
297 gops = kzalloc(sizeof(*gops), GFP_KERNEL); in allocate_fgraph_ops()
298 if (!gops) in allocate_fgraph_ops()
301 gops->entryfunc = &trace_graph_entry; in allocate_fgraph_ops()
302 gops->retfunc = &trace_graph_return; in allocate_fgraph_ops()
304 tr->gops = gops; in allocate_fgraph_ops()
305 gops->private = tr; in allocate_fgraph_ops()
307 fgraph_init_ops(&gops->ops, ops); in allocate_fgraph_ops()
314 kfree(tr->gops); in free_fgraph_ops()
319 tr->gops = &funcgraph_ops; in init_array_fgraph_ops()
321 fgraph_init_ops(&tr->gops->ops, ops); in init_array_fgraph_ops()
328 tr->gops->entryfunc = trace_graph_entry; in graph_trace_init()
331 tr->gops->retfunc = trace_graph_thresh_return; in graph_trace_init()
333 tr->gops->retfunc = trace_graph_return; in graph_trace_init()
338 ret = register_ftrace_graph(tr->gops); in graph_trace_init()
349 unregister_ftrace_graph(tr->gops); in graph_trace_reset()