mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 16:12:52 +00:00
00398a0018
The vsyscall code is entry code too, so move it to arch/x86/entry/vsyscall/. Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Brian Gerst <brgerst@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
30 lines
559 B
C
30 lines
559 B
C
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM vsyscall
|
|
|
|
#if !defined(__VSYSCALL_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define __VSYSCALL_TRACE_H
|
|
|
|
#include <linux/tracepoint.h>
|
|
|
|
TRACE_EVENT(emulate_vsyscall,
|
|
|
|
TP_PROTO(int nr),
|
|
|
|
TP_ARGS(nr),
|
|
|
|
TP_STRUCT__entry(__field(int, nr)),
|
|
|
|
TP_fast_assign(
|
|
__entry->nr = nr;
|
|
),
|
|
|
|
TP_printk("nr = %d", __entry->nr)
|
|
);
|
|
|
|
#endif
|
|
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH ../../arch/x86/entry/vsyscall/
|
|
#define TRACE_INCLUDE_FILE vsyscall_trace
|
|
#include <trace/define_trace.h>
|