Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8e7011f63ccce4db21b36fcd18eb78e95ca2f406
switch (event_notifier_param->event.instrumentation) {
case LTTNG_KERNEL_ABI_TRACEPOINT:
+ lttng_fallthrough;
case LTTNG_KERNEL_ABI_UPROBE:
break;
case LTTNG_KERNEL_ABI_KPROBE:
break;
case LTTNG_KERNEL_ABI_KRETPROBE:
/* Placing an event notifier on kretprobe is not supported. */
+ lttng_fallthrough;
case LTTNG_KERNEL_ABI_FUNCTION:
+ lttng_fallthrough;
case LTTNG_KERNEL_ABI_NOOP:
default:
ret = -EINVAL;