switch (event_param->instrumentation) {
case LTTNG_KERNEL_ABI_SYSCALL:
switch (event_param->u.syscall.entryexit) {
+ case LTTNG_KERNEL_ABI_SYSCALL_ENTRYEXIT:
+ lttng_fallthrough;
case LTTNG_KERNEL_ABI_SYSCALL_ENTRY:
lttng_fallthrough;
case LTTNG_KERNEL_ABI_SYSCALL_EXIT:
- lttng_fallthrough;
- case LTTNG_KERNEL_ABI_SYSCALL_ENTRYEXIT:
break;
default:
return -EINVAL;
case LTTNG_KERNEL_ABI_KRETPROBE:
switch (event_param->u.kretprobe.entryexit) {
- case LTTNG_KERNEL_ABI_SYSCALL_ENTRYEXIT:
+ case LTTNG_KERNEL_ABI_KRETPROBE_ENTRYEXIT:
break;
- case LTTNG_KERNEL_ABI_SYSCALL_ENTRY:
+ case LTTNG_KERNEL_ABI_KRETPROBE_ENTRY:
lttng_fallthrough;
- case LTTNG_KERNEL_ABI_SYSCALL_EXIT:
+ case LTTNG_KERNEL_ABI_KRETPROBE_EXIT:
lttng_fallthrough;
default:
return -EINVAL;