probes lttng: remove compatibility code
[lttng-modules.git] / lttng-context-callstack.c
index 317efdf4f7eeb9b438f0679e8f46f2610fe6e8c3..801ddd6095ae576fd61b7a4840d92372db05cccc 100644 (file)
@@ -46,7 +46,6 @@
 #include "lttng-events.h"
 #include "wrapper/ringbuffer/backend.h"
 #include "wrapper/ringbuffer/frontend.h"
-#include "wrapper/vmalloc.h"
 #include "lttng-tracer.h"
 #include "lttng-endian.h"
 
@@ -109,9 +108,6 @@ int __lttng_add_callstack_generic(struct lttng_ctx **ctx,
        struct field_data *fdata;
        int ret;
 
-       ret = init_type(mode);
-       if (ret)
-               return ret;
        length_field = lttng_append_context(ctx);
        if (!length_field)
                return -ENOMEM;
@@ -152,7 +148,6 @@ int __lttng_add_callstack_generic(struct lttng_ctx **ctx,
        sequence_field->priv = fdata;
        sequence_field->destroy = lttng_callstack_sequence_destroy;
 
-       wrapper_vmalloc_sync_all();
        return 0;
 
 error_create:
This page took 0.032562 seconds and 4 git commands to generate.