linux/arch/x86/kernel/vsyscall_trace.h
<<
>>
Prefs
   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
   9TRACE_EVENT(emulate_vsyscall,
  10
  11            TP_PROTO(int nr),
  12
  13            TP_ARGS(nr),
  14
  15            TP_STRUCT__entry(__field(int, nr)),
  16
  17            TP_fast_assign(
  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>
  30