|
| DEFINE_PER_CPU (int, ftrace_cpu_disabled) |
|
| __setup ("ftrace=", set_cmdline_ftrace) |
|
| __setup ("ftrace_dump_on_oops", set_ftrace_dump_on_oops) |
|
unsigned long long | ns2usecs (cycle_t nsec) |
|
int | filter_current_check_discard (struct ring_buffer *buffer, struct ftrace_event_call *call, void *rec, struct ring_buffer_event *event) |
|
| EXPORT_SYMBOL_GPL (filter_current_check_discard) |
|
cycle_t | ftrace_now (int cpu) |
|
int | tracing_is_enabled (void) |
|
void | tracing_on (void) |
|
| EXPORT_SYMBOL_GPL (tracing_on) |
|
void | tracing_off (void) |
|
| EXPORT_SYMBOL_GPL (tracing_off) |
|
int | tracing_is_on (void) |
|
| EXPORT_SYMBOL_GPL (tracing_is_on) |
|
void | trace_wake_up (void) |
|
unsigned long | nsecs_to_usecs (unsigned long nsecs) |
|
int | trace_parser_get_init (struct trace_parser *parser, int size) |
|
void | trace_parser_put (struct trace_parser *parser) |
|
int | trace_get_user (struct trace_parser *parser, const char __user *ubuf, size_t cnt, loff_t *ppos) |
|
ssize_t | trace_seq_to_user (struct trace_seq *s, char __user *ubuf, size_t cnt) |
|
int | register_tracer (struct tracer *type) |
|
void | unregister_tracer (struct tracer *type) |
|
void | tracing_reset (struct trace_array *tr, int cpu) |
|
void | tracing_reset_online_cpus (struct trace_array *tr) |
|
void | tracing_reset_current (int cpu) |
|
void | tracing_reset_current_online_cpus (void) |
|
int | is_tracing_stopped (void) |
|
void | ftrace_off_permanent (void) |
|
void | tracing_start (void) |
|
void | tracing_stop (void) |
|
void | trace_stop_cmdline_recording (void) |
|
void | trace_find_cmdline (int pid, char comm[]) |
|
void | tracing_record_cmdline (struct task_struct *tsk) |
|
void | tracing_generic_entry_update (struct trace_entry *entry, unsigned long flags, int pc) |
|
| EXPORT_SYMBOL_GPL (tracing_generic_entry_update) |
|
struct ring_buffer_event * | trace_buffer_lock_reserve (struct ring_buffer *buffer, int type, unsigned long len, unsigned long flags, int pc) |
|
void | trace_buffer_unlock_commit (struct ring_buffer *buffer, struct ring_buffer_event *event, unsigned long flags, int pc) |
|
struct ring_buffer_event * | trace_current_buffer_lock_reserve (struct ring_buffer **current_rb, int type, unsigned long len, unsigned long flags, int pc) |
|
| EXPORT_SYMBOL_GPL (trace_current_buffer_lock_reserve) |
|
void | trace_current_buffer_unlock_commit (struct ring_buffer *buffer, struct ring_buffer_event *event, unsigned long flags, int pc) |
|
| EXPORT_SYMBOL_GPL (trace_current_buffer_unlock_commit) |
|
void | trace_nowake_buffer_unlock_commit (struct ring_buffer *buffer, struct ring_buffer_event *event, unsigned long flags, int pc) |
|
| EXPORT_SYMBOL_GPL (trace_nowake_buffer_unlock_commit) |
|
void | trace_nowake_buffer_unlock_commit_regs (struct ring_buffer *buffer, struct ring_buffer_event *event, unsigned long flags, int pc, struct pt_regs *regs) |
|
| EXPORT_SYMBOL_GPL (trace_nowake_buffer_unlock_commit_regs) |
|
void | trace_current_buffer_discard_commit (struct ring_buffer *buffer, struct ring_buffer_event *event) |
|
| EXPORT_SYMBOL_GPL (trace_current_buffer_discard_commit) |
|
void | trace_function (struct trace_array *tr, unsigned long ip, unsigned long parent_ip, unsigned long flags, int pc) |
|
void | ftrace (struct trace_array *tr, struct trace_array_cpu *data, unsigned long ip, unsigned long parent_ip, unsigned long flags, int pc) |
|
void | trace_printk_init_buffers (void) |
|
int | trace_vbprintk (unsigned long ip, const char *fmt, va_list args) |
|
| EXPORT_SYMBOL_GPL (trace_vbprintk) |
|
int | trace_array_printk (struct trace_array *tr, unsigned long ip, const char *fmt,...) |
|
int | trace_array_vprintk (struct trace_array *tr, unsigned long ip, const char *fmt, va_list args) |
|
int | trace_vprintk (unsigned long ip, const char *fmt, va_list args) |
|
| EXPORT_SYMBOL_GPL (trace_vprintk) |
|
struct trace_entry * | trace_find_next_entry (struct trace_iterator *iter, int *ent_cpu, u64 *ent_ts) |
|
void * | trace_find_next_entry_inc (struct trace_iterator *iter) |
|
void | tracing_iter_reset (struct trace_iterator *iter, int cpu) |
|
void | print_trace_header (struct seq_file *m, struct trace_iterator *iter) |
|
enum print_line_t | print_trace_line (struct trace_iterator *iter) |
|
void | trace_latency_header (struct seq_file *m) |
|
void | trace_default_header (struct seq_file *m) |
|
int | tracing_open_generic (struct inode *inode, struct file *filp) |
|
int | tracer_init (struct tracer *t, struct trace_array *tr) |
|
int | tracing_update_buffers (void) |
|
void | default_wait_pipe (struct trace_iterator *iter) |
|
void | poll_wait_pipe (struct trace_iterator *iter) |
|
struct dentry * | tracing_init_dentry (void) |
|
struct dentry * | tracing_dentry_percpu (void) |
|
struct dentry * | trace_create_file (const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) |
|
void | trace_printk_seq (struct trace_seq *s) |
|
void | trace_init_global_iter (struct trace_iterator *iter) |
|
void | ftrace_dump (enum ftrace_dump_mode oops_dump_mode) |
|
| EXPORT_SYMBOL_GPL (ftrace_dump) |
|
| early_initcall (tracer_alloc_buffers) |
|
| fs_initcall (tracer_init_debugfs) |
|
| late_initcall (clear_boot_tracer) |
|
|
struct tracer - a specific tracer and its callbacks to interact with debugfs
: called when one switches to this tracer (echo name > current_tracer) : called when one switches to another tracer : called when tracing is unpaused (echo 1 > tracing_enabled) : called when tracing is paused (echo 0 > tracing_enabled) : called when the trace file is opened : called when the trace_pipe file is opened : override how the user waits for traces on trace_pipe : called when the trace file is released : called when the trace_pipe file is released : override the default read callback on trace_pipe : override the default splice_read callback on trace_pipe : selftest to run on boot (see trace_selftest.c) : override the first lines that describe your columns : callback that prints a trace : signals one of your private flags changed (trace_options file) : your private flags
|
int | trace_empty (struct trace_iterator *iter) |
|
int tracing_update_buffers |
( |
void |
| ) |
|
tracing_update_buffers - used by tracing facility to expand ring buffers
To save on memory when the tracing is never used on a system with it configured in. The ring buffers are set to a minimum size. But once a user starts to use the tracing facility, then they need to grow to their default size.
This function is to be called when a tracer is about to be used.
Definition at line 3129 of file trace.c.