Cleanup: Move patches.i to include/generated/
[lttng-modules.git] / lttng-context-perf-counters.c
index 1c5ab9fbc99e67b6a455aad9c1cf19693b3eadde..5784f75e30625e52693769902a578fa21ae13063 100644 (file)
 #include <linux/list.h>
 #include <linux/string.h>
 #include <linux/cpu.h>
-#include <lttng-events.h>
-#include <wrapper/ringbuffer/frontend_types.h>
+#include <lttng/events.h>
+#include <ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <wrapper/perf.h>
-#include <lttng-tracer.h>
+#include <lttng/tracer.h>
 
 static
 size_t perf_counter_get_size(size_t offset)
@@ -321,7 +321,7 @@ int lttng_add_perf_counter_to_ctx(uint32_t type,
        field->u.perf_counter = perf_field;
        lttng_context_update(*ctx);
 
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
This page took 0.02442 seconds and 4 git commands to generate.