callstack context: use delimiter when stack is incomplete
[lttng-modules.git] / lttng-context-nice.c
index 412dd93af5299f67e8b679d9f1acaf5ad3839442..a8823c4259c2ed7c3ca7f81a4aa3cc301fdf5122 100644 (file)
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
-#include "lttng-events.h"
-#include "wrapper/ringbuffer/frontend_types.h"
-#include "wrapper/vmalloc.h"
-#include "lttng-tracer.h"
+#include <lttng-events.h>
+#include <wrapper/ringbuffer/frontend_types.h>
+#include <wrapper/vmalloc.h>
+#include <lttng-tracer.h>
 
 static
 size_t nice_get_size(size_t offset)
@@ -52,6 +52,7 @@ void nice_record(struct lttng_ctx_field *field,
 
 static
 void nice_get_value(struct lttng_ctx_field *field,
+               struct lttng_probe_ctx *lttng_probe_ctx,
                union lttng_ctx_value *value)
 {
        value->s64 = task_nice(current);
@@ -84,11 +85,3 @@ int lttng_add_nice_to_ctx(struct lttng_ctx **ctx)
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_nice_to_ctx);
-
-MODULE_LICENSE("GPL and additional rights");
-MODULE_AUTHOR("Mathieu Desnoyers");
-MODULE_DESCRIPTION("Linux Trace Toolkit Nice Context");
-MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
-       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
-       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
-       LTTNG_MODULES_EXTRAVERSION);
This page took 0.032403 seconds and 4 git commands to generate.