Move headers under include/
[lttng-modules.git] / lttng-context-callstack.c
index 317efdf4f7eeb9b438f0679e8f46f2610fe6e8c3..e747e19a22ae046a8e27132ced6dcd1236f1f748 100644 (file)
 #include <linux/utsname.h>
 #include <linux/stacktrace.h>
 #include <linux/spinlock.h>
-#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"
+#include <lttng/lttng-events.h>
+#include <ringbuffer/backend.h>
+#include <ringbuffer/frontend.h>
+#include <lttng/lttng-tracer.h>
+#include <lttng/lttng-endian.h>
 
 #ifdef CONFIG_ARCH_STACKWALK
 #include "lttng-context-callstack-stackwalk-impl.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.022609 seconds and 4 git commands to generate.