Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
vsyscall_trace.h
Go to the documentation of this file.
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM vsyscall
3 
4 #if !defined(__VSYSCALL_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define __VSYSCALL_TRACE_H
6 
7 #include <linux/tracepoint.h>
8 
10 
11  TP_PROTO(int nr),
12 
13  TP_ARGS(nr),
14 
15  TP_STRUCT__entry(__field(int, nr)),
16 
18  __entry->nr = nr;
19  ),
20 
21  TP_printk("nr = %d", __entry->nr)
22 );
23 
24 #endif
25 
26 #undef TRACE_INCLUDE_PATH
27 #define TRACE_INCLUDE_PATH ../../arch/x86/kernel
28 #define TRACE_INCLUDE_FILE vsyscall_trace
29 #include <trace/define_trace.h>