Lines Matching defs:trace

14 #include <linux/trace.h>
179 * The CPU trace array - it consists of thousands of trace entries
181 * the trace, etc.)
284 * associated with the trace instance by
315 * The trace array - an array of per-CPU trace arrays. This is the
325 * The max_buffer is used to snapshot the trace when a maximum
327 * Some tracers will use this to store a maximum trace while
390 cpumask_var_t tracing_cpumask; /* only trace on set CPUs */
441 * The global tracer (top) should be the first trace array added,
478 * Where "type" is the trace type that includes the trace_entry
479 * as the "ent" item. And "id" is the trace identifier that is
528 struct tracer *trace;
550 * @open: called when the trace file is opened
552 * @close: called when the trace file is released
558 * @print_line: callback that prints a trace
583 int (*selftest)(struct tracer *trace,
681 void trace_graph_return(struct ftrace_graph_ret *trace);
682 int trace_graph_entry(struct ftrace_graph_ent *trace);
778 extern int trace_selftest_startup_function(struct tracer *trace,
780 extern int trace_selftest_startup_function_graph(struct tracer *trace,
782 extern int trace_selftest_startup_irqsoff(struct tracer *trace,
784 extern int trace_selftest_startup_preemptoff(struct tracer *trace,
786 extern int trace_selftest_startup_preemptirqsoff(struct tracer *trace,
788 extern int trace_selftest_startup_wakeup(struct tracer *trace,
790 extern int trace_selftest_startup_nop(struct tracer *trace,
792 extern int trace_selftest_startup_branch(struct tracer *trace,
889 struct ftrace_graph_ent *trace,
892 struct ftrace_graph_ret *trace,
899 static inline int ftrace_graph_addr(struct ftrace_graph_ent *trace)
901 unsigned long addr = trace->func;
927 trace_recursion_set_depth(trace->depth);
932 * want to trace it.
946 static inline void ftrace_graph_addr_finish(struct ftrace_graph_ret *trace)
949 trace->depth == trace_recursion_depth())
976 static inline int ftrace_graph_addr(struct ftrace_graph_ent *trace)
985 static inline void ftrace_graph_addr_finish(struct ftrace_graph_ret *trace)
991 static inline bool ftrace_graph_ignore_func(struct ftrace_graph_ent *trace)
993 /* trace it when it is-nested-in or is a function enabled. */
995 ftrace_graph_addr(trace)) ||
996 (trace->depth < 0) ||
997 (fgraph_max_depth && trace->depth >= fgraph_max_depth);
1206 C(FUNCTION, "function-trace"), \
1227 * trace.c (this macro guarantees it).
1253 C(PAUSE_ON_TRACE, "pause-on-trace"), \
1689 * struct event_trigger_ops - callbacks for trace event triggers
1711 * the trace record, rec.
1750 * into the 'trigger' file associated with a trace event. The
1753 * added to the list of trigger instances associated with that trace
1775 * commands need to do this if they themselves log to the trace
1788 * the appropriate trace event. It makes use of the other
1854 * the trigger may itself log data into the trace buffer. Thus
1858 * trace record; if a command has the @post_trigger flag set, it
1866 * itself logs to the trace buffer, this flag should be set,
1870 * access to the trace record in order to perform its function,
1872 * it (filters make a trigger require access to the trace record
1933 * into sections to display. But the trace infrastructure wants