Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
trace_kprobe.c File Reference
#include <linux/module.h>
#include <linux/uaccess.h>
#include "trace_probe.h"

Go to the source code of this file.

Data Structures

struct  trace_probe
 

Macros

#define KPROBE_EVENT_SYSTEM   "kprobes"
 
#define SIZEOF_TRACE_PROBE(n)
 
#define LEN_OR_ZERO   (len ? len - pos : 0)
 

Functions

enum print_line_t print_kprobe_event (struct trace_iterator *iter, int flags, struct trace_event *event)
 
enum print_line_t print_kretprobe_event (struct trace_iterator *iter, int flags, struct trace_event *event)
 
 fs_initcall (init_kprobe_trace)
 

Macro Definition Documentation

#define KPROBE_EVENT_SYSTEM   "kprobes"

Definition at line 25 of file trace_kprobe.c.

#define LEN_OR_ZERO   (len ? len - pos : 0)
#define SIZEOF_TRACE_PROBE (   n)
Value:
(offsetof(struct trace_probe, args) + \
(sizeof(struct probe_arg) * (n)))

Definition at line 44 of file trace_kprobe.c.

Function Documentation

fs_initcall ( init_kprobe_trace  )
enum print_line_t print_kprobe_event ( struct trace_iterator iter,
int  flags,
struct trace_event event 
)

Definition at line 793 of file trace_kprobe.c.

enum print_line_t print_kretprobe_event ( struct trace_iterator iter,
int  flags,
struct trace_event event 
)

Definition at line 829 of file trace_kprobe.c.