X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_unknown.h;fp=instrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_unknown.h;h=0000000000000000000000000000000000000000;hb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;hp=79939c80ca89a70ac0a80ddac8d8351e193782e6;hpb=cf77d12083b5092eca8c6f9899ec0892756845aa;p=lttng-modules.git diff --git a/instrumentation/syscalls/headers/syscalls_unknown.h b/instrumentation/syscalls/headers/syscalls_unknown.h deleted file mode 100644 index 79939c80..00000000 --- a/instrumentation/syscalls/headers/syscalls_unknown.h +++ /dev/null @@ -1,55 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ - -#if !defined(_TRACE_SYSCALLS_UNKNOWN_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_SYSCALLS_UNKNOWN_H - -#include -#include - -#define UNKNOWN_SYSCALL_NRARGS 6 - -#undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_entry_probe - -LTTNG_TRACEPOINT_EVENT(syscall_entry_unknown, - TP_PROTO(int id, unsigned long *args), - TP_ARGS(id, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -LTTNG_TRACEPOINT_EVENT(compat_syscall_entry_unknown, - TP_PROTO(int id, unsigned long *args), - TP_ARGS(id, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) - -#undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_exit_probe - -LTTNG_TRACEPOINT_EVENT(syscall_exit_unknown, - TP_PROTO(int id, long ret, unsigned long *args), - TP_ARGS(id, ret, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_integer(long, ret, ret) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -LTTNG_TRACEPOINT_EVENT(compat_syscall_exit_unknown, - TP_PROTO(int id, long ret, unsigned long *args), - TP_ARGS(id, ret, args), - TP_FIELDS( - ctf_integer(int, id, id) - ctf_integer(long, ret, ret) - ctf_array(unsigned long, args, args, UNKNOWN_SYSCALL_NRARGS) - ) -) -#endif /* _TRACE_SYSCALLS_UNKNOWN_H */ - -/* This part must be outside protection */ -#include