lttng_abi_create_event_notifier: add missing fallthrough
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 28 Feb 2022 15:40:40 +0000 (10:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jul 2024 20:58:48 +0000 (16:58 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8e7011f63ccce4db21b36fcd18eb78e95ca2f406

src/lttng-abi.c

index b94f34cbe963fc0205fb1e968ff84a9148a2ea64..2675414ef4cb4f4aec0b710ebf437d3d00db9d24 100644 (file)
@@ -2310,6 +2310,7 @@ int lttng_abi_create_event_notifier(struct file *event_notifier_group_file,
 
        switch (event_notifier_param->event.instrumentation) {
        case LTTNG_KERNEL_ABI_TRACEPOINT:
+               lttng_fallthrough;
        case LTTNG_KERNEL_ABI_UPROBE:
                break;
        case LTTNG_KERNEL_ABI_KPROBE:
@@ -2319,7 +2320,9 @@ int lttng_abi_create_event_notifier(struct file *event_notifier_group_file,
                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;
This page took 0.028044 seconds and 4 git commands to generate.