if (syscall_nr < 0)
return -ENOENT;
-
switch (event->u.syscall.entryexit) {
case LTTNG_SYSCALL_ENTRY:
switch (event->u.syscall.abi) {
case LTTNG_SYSCALL_ABI_COMPAT:
bitmap = filter->sc_compat_entry;
break;
+ default:
+ return -EINVAL;
}
break;
case LTTNG_SYSCALL_EXIT:
case LTTNG_SYSCALL_ABI_COMPAT:
bitmap = filter->sc_compat_exit;
break;
+ default:
+ return -EINVAL;
}
break;
default:
if (syscall_nr < 0)
return -ENOENT;
-
switch (event->u.syscall.entryexit) {
case LTTNG_SYSCALL_ENTRY:
switch (event->u.syscall.abi) {
case LTTNG_SYSCALL_ABI_COMPAT:
bitmap = filter->sc_compat_entry;
break;
+ default:
+ return -EINVAL;
}
break;
case LTTNG_SYSCALL_EXIT:
case LTTNG_SYSCALL_ABI_COMPAT:
bitmap = filter->sc_compat_exit;
break;
+ default:
+ return -EINVAL;
}
break;
default: