X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Finstrumentation%2Fsyscalls%2Fheaders%2Fsyscalls_unknown.h;h=38add19ffae8f389b6956a903b3e1dda9ad8bac5;hb=8ced8896fe832af52b749d429b8eceb872a83d1b;hp=64e53792e5b2f1c8a29ac860e64a94593940a240;hpb=63aa91609c6b8140e5382ecc0f94dc555b62af7b;p=deliverable%2Flttng-modules.git diff --git a/include/instrumentation/syscalls/headers/syscalls_unknown.h b/include/instrumentation/syscalls/headers/syscalls_unknown.h index 64e53792..38add19f 100644 --- a/include/instrumentation/syscalls/headers/syscalls_unknown.h +++ b/include/instrumentation/syscalls/headers/syscalls_unknown.h @@ -28,6 +28,26 @@ 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