Linux Kernel
3.7.1
|
#include "trace_probe.h"
Go to the source code of this file.
Data Structures | |
struct | symbol_cache |
struct | bitfield_fetch_param |
Typedefs | |
typedef u32 | string |
typedef u32 | string_size |
Functions | |
DEFINE_FETCH_symbol (string) | |
DEFINE_FETCH_deref (string) | |
int | traceprobe_split_symbol_offset (char *symbol, unsigned long *offset) |
int | traceprobe_parse_probe_arg (char *arg, ssize_t *size, struct probe_arg *parg, bool is_return, bool is_kprobe) |
int | traceprobe_conflict_field_name (const char *name, struct probe_arg *args, int narg) |
void | traceprobe_update_arg (struct probe_arg *arg) |
void | traceprobe_free_probe_arg (struct probe_arg *arg) |
int | traceprobe_command (const char *buf, int(*createfn)(int, char **)) |
ssize_t | traceprobe_probes_write (struct file *file, const char __user *buffer, size_t count, loff_t *ppos, int(*createfn)(int, char **)) |
Variables | |
const char * | reserved_field_names [] |
Definition at line 386 of file trace_probe.c.
Definition at line 378 of file trace_probe.c.
#define _DEFAULT_FETCH_TYPE | ( | t | ) | __DEFAULT_FETCH_TYPE(t) |
Definition at line 379 of file trace_probe.c.
Definition at line 383 of file trace_probe.c.
#define ASSIGN_FETCH_TYPE | ( | ptype, | |
ftype, | |||
sign | |||
) | __ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, #ptype) |
Definition at line 404 of file trace_probe.c.
#define BYTES_TO_BITS | ( | nb | ) | ((BITS_PER_LONG * (nb)) / sizeof(long)) |
Definition at line 646 of file trace_probe.c.
Definition at line 103 of file trace_probe.c.
#define DEFAULT_FETCH_TYPE _DEFAULT_FETCH_TYPE(BITS_PER_LONG) |
Definition at line 380 of file trace_probe.c.
#define DEFAULT_FETCH_TYPE_STR __stringify(DEFAULT_FETCH_TYPE) |
Definition at line 381 of file trace_probe.c.
#define DEFINE_BASIC_FETCH_FUNCS | ( | method | ) |
Definition at line 43 of file trace_probe.c.
#define DEFINE_FETCH_bitfield | ( | type | ) |
Definition at line 331 of file trace_probe.c.
#define DEFINE_FETCH_deref | ( | type | ) |
Definition at line 290 of file trace_probe.c.
#define DEFINE_FETCH_memory | ( | type | ) |
#define DEFINE_FETCH_reg | ( | type | ) |
Definition at line 113 of file trace_probe.c.
#define DEFINE_FETCH_retval | ( | type | ) |
#define DEFINE_FETCH_stack | ( | type | ) |
Definition at line 125 of file trace_probe.c.
#define DEFINE_FETCH_symbol | ( | type | ) |
#define fetch_bitfield_string NULL |
Definition at line 346 of file trace_probe.c.
#define fetch_bitfield_string_size NULL |
Definition at line 347 of file trace_probe.c.
Definition at line 92 of file trace_probe.c.
#define fetch_reg_string NULL |
Definition at line 122 of file trace_probe.c.
#define fetch_reg_string_size NULL |
Definition at line 123 of file trace_probe.c.
#define fetch_retval_string NULL |
Definition at line 145 of file trace_probe.c.
#define fetch_retval_string_size NULL |
Definition at line 146 of file trace_probe.c.
#define fetch_stack_string NULL |
Definition at line 134 of file trace_probe.c.
#define fetch_stack_string_size NULL |
Definition at line 135 of file trace_probe.c.
#define FETCH_TYPE_STRING 0 |
Definition at line 407 of file trace_probe.c.
#define FETCH_TYPE_STRSIZE 1 |
Definition at line 408 of file trace_probe.c.
#define PARAM_MAX_STACK (THREAD_SIZE / sizeof(unsigned long)) |
Definition at line 516 of file trace_probe.c.
Definition at line 40 of file trace_probe.c.
Definition at line 39 of file trace_probe.c.
#define WRITE_BUFSIZE 4096 |
Definition at line 785 of file trace_probe.c.
Definition at line 73 of file trace_probe.c.
typedef u32 string_size |
Definition at line 74 of file trace_probe.c.
DEFINE_FETCH_deref | ( | string | ) |
Definition at line 304 of file trace_probe.c.
DEFINE_FETCH_symbol | ( | string | ) |
Definition at line 281 of file trace_probe.c.
Definition at line 766 of file trace_probe.c.
Definition at line 727 of file trace_probe.c.
Definition at line 753 of file trace_probe.c.
int traceprobe_parse_probe_arg | ( | char * | arg, |
ssize_t * | size, | ||
struct probe_arg * | parg, | ||
bool | is_return, | ||
bool | is_kprobe | ||
) |
Definition at line 685 of file trace_probe.c.
ssize_t traceprobe_probes_write | ( | struct file * | file, |
const char __user * | buffer, | ||
size_t | count, | ||
loff_t * | ppos, | ||
int(*)(int, char **) | createfn | ||
) |
Definition at line 787 of file trace_probe.c.
Definition at line 494 of file trace_probe.c.
Definition at line 743 of file trace_probe.c.
Definition at line 27 of file trace_probe.c.