• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/kernel/trace/

Lines Matching refs:tracer

2  * ring buffer based function tracer
63 * If a tracer is running, we do not want to run SELFTEST.
85 * of the tracer is successful. But that is the only place that sets
215 /* tracer_enabled is used to toggle activation of a tracer */
224 * up. See irqsoff tracer for an example (start_irqsoff_tracer).
246 static struct tracer *trace_types __read_mostly;
248 /* current_trace points to the tracer that is currently active */
249 static struct tracer *current_trace __read_mostly;
644 * @tr: tracer
675 * @tr - tracer
722 * register_tracer - register a tracer with the ftrace system.
723 * @type - the plugin for the tracer
725 * Register a new plugin tracer.
727 int register_tracer(struct tracer *type)
731 struct tracer *t;
771 struct tracer *saved_tracer = current_trace;
775 * Run a selftest on this tracer.
777 * tracer to be this tracer. The tracer can then run some
779 * If we fail, we do not register this tracer.
785 pr_info("Testing tracer %s: ", type->name);
813 printk(KERN_INFO "Starting tracer '%s'\n", type->name);
814 /* Do we want this tracer to start on bootup? */
820 printk(KERN_INFO "Disabling FTRACE selftests due to running tracer '%s'\n",
828 void unregister_tracer(struct tracer *type)
830 struct tracer **t;
941 * tracing_start - quick start of the tracer
944 * this will start the tracer back up.
983 * tracing_stop - quick stop of the tracer
1661 * The current tracer is copied to avoid a global locking
1667 static struct tracer *old_tracer;
1673 /* copy the tracer to avoid using a global lock all around */
1755 struct tracer *type = current_trace;
2050 seq_printf(m, "# tracer: %s\n", iter->trace->name);
2108 * We make a copy of the current tracer to avoid concurrent
2130 /* Notify the tracer early; before we stop tracing. */
2258 struct tracer *t = v;
2270 struct tracer *t;
2287 struct tracer *t = v;
2352 * The tracer itself will not take this lock, but still we want
2468 static int __set_tracer_option(struct tracer *trace,
2485 /* Try to assign a tracer specific option */
2486 static int set_tracer_option(struct tracer *trace, char *cmp, int neg)
2549 /* If no option could be set, test the specific tracer options */
2733 int tracer_init(struct tracer *t, struct trace_array *tr)
2768 * When a tracer needs a snapshot (one of the
2800 * This function is to be called when a tracer is about to be used.
2817 create_trace_option_files(struct tracer *tracer);
2826 struct tracer *t;
2978 * We make a copy of the current tracer to avoid concurrent
3075 * A tracer might use this callback on some rare cases:
3077 * 1) the current tracer might hold the runqueue lock when it wakes up
3136 static struct tracer *old_tracer;
3146 /* copy the tracer to avoid using a global lock all around */
3298 static struct tracer *old_tracer;
3306 /* copy the tracer to avoid using a global lock all around */
4216 create_trace_option_files(struct tracer *tracer)
4223 if (!tracer)
4226 flags = tracer->flags;
4564 printk(KERN_ERR "tracer: failed to allocate ring buffer!\n");
4574 printk(KERN_ERR "tracer: failed to allocate max ring buffer!\n");
4613 * The default tracer at boot buffer is an init section.
4615 * find the boot tracer, then clear it out, to prevent
4622 printk(KERN_INFO "ftrace bootup tracer '%s' not registered.\n",