Lines Matching defs:gops

226 		       struct fgraph_ops *gops,
229 unsigned long *task_var = fgraph_get_task_var(gops);
230 struct trace_array *tr = gops->private;
254 if (ftrace_graph_ignore_func(gops, trace))
262 ftimes = fgraph_reserve_data(gops->idx, sizeof(*ftimes));
267 ftimes = fgraph_reserve_data(gops->idx, sizeof(ftimes->calltime));
295 struct fgraph_ops *gops,
298 return graph_entry(trace, gops, NULL);
302 struct fgraph_ops *gops,
305 return graph_entry(trace, gops, fregs);
369 struct fgraph_ops *gops, struct ftrace_regs *fregs)
371 unsigned long *task_var = fgraph_get_task_var(gops);
372 struct trace_array *tr = gops->private;
380 ftrace_graph_addr_finish(gops, trace);
387 ftimes = fgraph_retrieve_data(gops->idx, &size);
400 struct fgraph_ops *gops,
403 unsigned long *task_var = fgraph_get_task_var(gops);
412 ftrace_graph_addr_finish(gops, trace);
419 ftimes = fgraph_retrieve_data(gops->idx, &size);
423 tr = gops->private;
442 struct fgraph_ops *gops;
444 gops = kzalloc_obj(*gops);
445 if (!gops)
448 gops->entryfunc = &trace_graph_entry;
449 gops->retfunc = &trace_graph_return;
451 tr->gops = gops;
452 gops->private = tr;
454 fgraph_init_ops(&gops->ops, ops);
461 kfree(tr->gops);
466 tr->gops = &funcgraph_ops;
468 fgraph_init_ops(&tr->gops->ops, ops);
476 tr->gops->entryfunc = trace_graph_entry_args;
478 tr->gops->entryfunc = trace_graph_entry;
481 tr->gops->retfunc = trace_graph_thresh_return;
483 tr->gops->retfunc = trace_graph_return;
491 /* Make gops functions visible before we start tracing */
494 ret = register_ftrace_graph(tr->gops);
514 if (tr->gops->entryfunc == entry)
517 unregister_ftrace_graph(tr->gops);
519 tr->gops->entryfunc = entry;
521 /* Make gops functions visible before we start tracing */
523 return register_ftrace_graph(tr->gops);
539 unregister_ftrace_graph(tr->gops);