Remove event state abi version validation from tracer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Nov 2023 20:17:39 +0000 (15:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Nov 2023 20:17:39 +0000 (15:17 -0500)
This is internal to libside.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/tracer.c

index 352cba509fe703b9eebe70d7904bf5ec5baa07a6..1b024663f13d754f2d71fe4288568b850663268a 100644 (file)
@@ -1802,11 +1802,6 @@ void tracer_event_notification(enum side_tracer_notification notif,
                                event->version, SIDE_EVENT_DESCRIPTION_ABI_VERSION);
                                return;
                }
-               if (side_ptr_get(event->state)->version != SIDE_EVENT_STATE_ABI_VERSION) {
-                       printf("Error: event state ABI version (%u) does not match the version supported by the tracer (%u)\n",
-                               side_ptr_get(event->state)->version, SIDE_EVENT_STATE_ABI_VERSION);
-                               return;
-               }
                printf("provider: %s, event: %s\n",
                        side_ptr_get(event->provider_name), side_ptr_get(event->event_name));
                if (event->struct_size != side_offsetofend(struct side_event_description, side_event_description_orig_abi_last)) {
This page took 0.032238 seconds and 4 git commands to generate.