callstack context: use delimiter when stack is incomplete
[lttng-modules.git] / lttng-context-procname.c
index 5c1cd3a6b04f7bf23f16239cb2131dffa2f8c755..f0b9d975fa49a07677c16c8c64ac1d04df20040c 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 procname_get_size(size_t offset)
@@ -53,6 +53,7 @@ void procname_record(struct lttng_ctx_field *field,
 
 static
 void procname_get_value(struct lttng_ctx_field *field,
+               struct lttng_probe_ctx *lttng_probe_ctx,
                union lttng_ctx_value *value)
 {
        value->str = current->comm;
@@ -88,11 +89,3 @@ int lttng_add_procname_to_ctx(struct lttng_ctx **ctx)
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_procname_to_ctx);
-
-MODULE_LICENSE("GPL and additional rights");
-MODULE_AUTHOR("Mathieu Desnoyers");
-MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support");
-MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
-       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
-       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
-       LTTNG_MODULES_EXTRAVERSION);
This page took 0.023843 seconds and 4 git commands to generate.