Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sep_trace_events.h File Reference
#include <linux/tracepoint.h>
#include <trace/define_trace.h>

Go to the source code of this file.

Macros

#define TRACE_SYSTEM   sep
 
#define _TRACE_SEP_EVENTS_H
 
#define SEP_TRACE_FUNC_IN()
 
#define SEP_TRACE_FUNC_OUT(branch)
 
#define SEP_TRACE_EVENT(branch)
 
#define TRACE_INCLUDE_PATH   .
 
#define TRACE_INCLUDE_FILE   sep_trace_events
 

Functions

 TRACE_EVENT (sep_func_start, TP_PROTO(const char *name, int branch), TP_ARGS(name, branch), TP_STRUCT__entry(__array(char, name, 20) __field(int, branch)), TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;), TP_printk("func_start %s %d", __entry->name, __entry->branch))
 
 TRACE_EVENT (sep_func_end, TP_PROTO(const char *name, int branch), TP_ARGS(name, branch), TP_STRUCT__entry(__array(char, name, 20) __field(int, branch)), TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;), TP_printk("func_end %s %d", __entry->name, __entry->branch))
 
 TRACE_EVENT (sep_misc_event, TP_PROTO(const char *name, int branch), TP_ARGS(name, branch), TP_STRUCT__entry(__array(char, name, 20) __field(int, branch)), TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;), TP_printk("misc_event %s %d", __entry->name, __entry->branch))
 

Macro Definition Documentation

#define _TRACE_SEP_EVENTS_H

Definition at line 36 of file sep_trace_events.h.

#define SEP_TRACE_EVENT (   branch)

Definition at line 45 of file sep_trace_events.h.

#define SEP_TRACE_FUNC_IN ( )

Definition at line 43 of file sep_trace_events.h.

#define SEP_TRACE_FUNC_OUT (   branch)

Definition at line 44 of file sep_trace_events.h.

#define TRACE_INCLUDE_FILE   sep_trace_events

Definition at line 187 of file sep_trace_events.h.

#define TRACE_INCLUDE_PATH   .

Definition at line 183 of file sep_trace_events.h.

#define TRACE_SYSTEM   sep

Definition at line 25 of file sep_trace_events.h.

Function Documentation

TRACE_EVENT ( sep_func_start  ,
TP_PROTO(const char *name, int branch ,
TP_ARGS(name, branch ,
TP_STRUCT__entry(__array(char, name, 20) __field(int, branch))  ,
TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;)  ,
TP_printk("func_start %s %d", __entry->name, __entry->branch  
)
TRACE_EVENT ( sep_func_end  ,
TP_PROTO(const char *name, int branch ,
TP_ARGS(name, branch ,
TP_STRUCT__entry(__array(char, name, 20) __field(int, branch))  ,
TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;)  ,
TP_printk("func_end %s %d", __entry->name, __entry->branch  
)
TRACE_EVENT ( sep_misc_event  ,
TP_PROTO(const char *name, int branch ,
TP_ARGS(name, branch ,
TP_STRUCT__entry(__array(char, name, 20) __field(int, branch))  ,
TP_fast_assign(strncpy(__entry->name, name, 20);__entry->branch=branch;)  ,
TP_printk("misc_event %s %d", __entry->name, __entry->branch  
)