X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-context-nice.c;h=a8823c4259c2ed7c3ca7f81a4aa3cc301fdf5122;hp=412dd93af5299f67e8b679d9f1acaf5ad3839442;hb=ea15538d675ad5685c1e4ce1c393f25f682eb06b;hpb=f127e61ee231d002fb9a7803643a157e06f6d2e2 diff --git a/lttng-context-nice.c b/lttng-context-nice.c index 412dd93a..a8823c42 100644 --- a/lttng-context-nice.c +++ b/lttng-context-nice.c @@ -23,10 +23,10 @@ #include #include #include -#include "lttng-events.h" -#include "wrapper/ringbuffer/frontend_types.h" -#include "wrapper/vmalloc.h" -#include "lttng-tracer.h" +#include +#include +#include +#include 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);