Linux Kernel
3.7.1
|
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#include <linux/kthread.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <asm/setup.h>
#include "trace_output.h"
Go to the source code of this file.
Macros | |
#define | TRACE_SYSTEM "TRACE_SYSTEM" |
#define | __common_field(type, item) |
#define | EVENT_BUF_SIZE 127 |
#define | for_each_event(event, start, end) |
Enumerations | |
enum | { FORMAT_HEADER = 1, FORMAT_FIELD_SEPERATOR = 2, FORMAT_PRINTFMT = 3 } |
Variables | |
char | event_storage [EVENT_STORAGE_SIZE] |
struct ftrace_event_call * | __start_ftrace_events [] |
struct ftrace_event_call * | __stop_ftrace_events [] |
#define EVENT_BUF_SIZE 127 |
Definition at line 370 of file trace_events.c.
#define TRACE_SYSTEM "TRACE_SYSTEM" |
Definition at line 26 of file trace_events.c.
anonymous enum |
Definition at line 636 of file trace_events.c.
__setup | ( | ) |
core_initcall | ( | event_trace_enable | ) |
DEFINE_MUTEX | ( | event_mutex | ) |
DEFINE_MUTEX | ( | event_storage_mutex | ) |
EXPORT_SYMBOL_GPL | ( | event_storage_mutex | ) |
EXPORT_SYMBOL_GPL | ( | event_storage | ) |
EXPORT_SYMBOL_GPL | ( | trace_define_field | ) |
EXPORT_SYMBOL_GPL | ( | trace_event_raw_init | ) |
EXPORT_SYMBOL_GPL | ( | ftrace_event_reg | ) |
EXPORT_SYMBOL_GPL | ( | trace_set_clr_event | ) |
fs_initcall | ( | event_trace_init | ) |
int ftrace_event_reg | ( | struct ftrace_event_call * | call, |
enum trace_reg | type, | ||
void * | data | ||
) |
Definition at line 150 of file trace_events.c.
LIST_HEAD | ( | ftrace_events | ) |
LIST_HEAD | ( | ftrace_common_fields | ) |
int trace_add_event_call | ( | struct ftrace_event_call * | call | ) |
Definition at line 1254 of file trace_events.c.
int trace_define_field | ( | struct ftrace_event_call * | call, |
const char * | type, | ||
const char * | name, | ||
int | offset, | ||
int | size, | ||
int | is_signed, | ||
int | filter_type | ||
) |
Definition at line 86 of file trace_events.c.
void trace_destroy_fields | ( | struct ftrace_event_call * | call | ) |
Definition at line 124 of file trace_events.c.
Definition at line 185 of file trace_events.c.
int trace_event_raw_init | ( | struct ftrace_event_call * | call | ) |
Definition at line 138 of file trace_events.c.
|
read |
Definition at line 40 of file trace_events.c.
void trace_remove_event_call | ( | struct ftrace_event_call * | call | ) |
Definition at line 1298 of file trace_events.c.
trace_set_clr_event - enable or disable an event : system name to match (NULL for any system) : event name to match (NULL for all events, within system) : 1 to enable, 0 to disable
This is a way for other parts of the kernel to enable or disable event recording.
Returns 0 on success, -EINVAL if the parameters do not match any registered events.
Definition at line 363 of file trace_events.c.
struct ftrace_event_call* __start_ftrace_events[] |
struct ftrace_event_call* __stop_ftrace_events[] |
char event_storage[EVENT_STORAGE_SIZE] |
Definition at line 33 of file trace_events.c.