Merge branch 'x86-tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6.git] / arch / x86 / kernel / vsyscall_trace.h
bloba8b2edec54fef066bb2fcbbe2192e41fb5c56367
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM vsyscall
4 #if !defined(__VSYSCALL_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define __VSYSCALL_TRACE_H
7 #include <linux/tracepoint.h>
9 TRACE_EVENT(emulate_vsyscall,
11 TP_PROTO(int nr),
13 TP_ARGS(nr),
15 TP_STRUCT__entry(__field(int, nr)),
17 TP_fast_assign(
18 __entry->nr = nr;
21 TP_printk("nr = %d", __entry->nr)
24 #endif
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>