X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_unknown.h;h=8645d7144f0e90950d1e24a810a92fe10dda755f;hb=f52e9f44f5aa2531aa35d6bd2f3af65c56325e34;hp=38add19ffae8f389b6956a903b3e1dda9ad8bac5;hpb=8ced8896fe832af52b749d429b8eceb872a83d1b;p=lttng-modules.git diff --git a/include/instrumentation/syscalls/headers/syscalls_unknown.h b/include/instrumentation/syscalls/headers/syscalls_unknown.h index 38add19f..8645d714 100644 --- a/include/instrumentation/syscalls/headers/syscalls_unknown.h +++ b/include/instrumentation/syscalls/headers/syscalls_unknown.h @@ -9,7 +9,10 @@ #define UNKNOWN_SYSCALL_NRARGS 6 #undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_entry_event_probe +#define TP_PROBE_CB(_template) &syscall_entry_event_probe + +#undef TP_EVENT_NOTIFIER_PROBE_CB +#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_entry_event_notifier_probe LTTNG_TRACEPOINT_EVENT(syscall_entry_unknown, TP_PROTO(int id, unsigned long *args), @@ -28,28 +31,10 @@ LTTNG_TRACEPOINT_EVENT(compat_syscall_entry_unknown, ) ) -#undef TP_PROBE_CB -#define TP_PROBE_CB(_template) &syscall_entry_event_notifier_probe - -LTTNG_TRACEPOINT_EVENT(syscall_notifier_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_notifier_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_event_probe +#undef TP_EVENT_NOTIFIER_PROBE_CB +#define TP_EVENT_NOTIFIER_PROBE_CB(_template) &syscall_exit_event_notifier_probe LTTNG_TRACEPOINT_EVENT(syscall_exit_unknown, TP_PROTO(int id, long ret, unsigned long *args),