Fix: ABI breakage between 2.1 and 2.2-rc1
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Apr 2013 02:17:54 +0000 (22:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Apr 2013 02:17:54 +0000 (22:17 -0400)
Removal of 2 callbacks was causing ABI breakage. This has been caught
in 2.2-rc1.

This was causing the application to segfault when tracing is active.

Fixes #486

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-events.h

index 4cc507a05c52c1363a7ba20d0aae503955b7d3f1..749478a6a335b3b9b14ab0ceb3dd87787f469b30 100644 (file)
@@ -395,6 +395,8 @@ struct lttng_channel_ops {
                        unsigned char *uuid,
                        uint32_t chan_id);
        void (*channel_destroy)(struct lttng_channel *chan);
+       void *_deprecated1;
+       void *_deprecated2;
        int (*event_reserve)(struct lttng_ust_lib_ring_buffer_ctx *ctx,
                             uint32_t event_id);
        void (*event_commit)(struct lttng_ust_lib_ring_buffer_ctx *ctx);
This page took 0.024975 seconds and 4 git commands to generate.