X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fmodule.h;h=5831650b6f987b2a10b58db0bcef52b36b22f5bd;hb=cf77d12083b5092eca8c6f9899ec0892756845aa;hp=89b1e7980d7d0a928d4753303d26eb6381328003;hpb=b5e54ced22342bd537afcb49878318726f5bf718;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/module.h b/instrumentation/events/lttng-module/module.h index 89b1e798..5831650b 100644 --- a/instrumentation/events/lttng-module/module.h +++ b/instrumentation/events/lttng-module/module.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Because linux/module.h has tracepoints in the header, and ftrace.h * eventually includes this file, define_trace.h includes linux/module.h @@ -15,7 +15,7 @@ #if !defined(LTTNG_TRACE_MODULE_H) || defined(TRACE_HEADER_MULTI_READ) #define LTTNG_TRACE_MODULE_H -#include +#include #include #ifdef CONFIG_MODULES @@ -59,7 +59,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(module_refcnt, TP_ARGS(mod, ip), TP_FIELDS( - ctf_integer(unsigned long, ip, ip) + ctf_integer_hex(unsigned long, ip, ip) #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) ctf_integer(int, refcnt, atomic_read(&mod->refcnt)) #else @@ -91,7 +91,7 @@ LTTNG_TRACEPOINT_EVENT(module_request, TP_ARGS(name, wait, ip), TP_FIELDS( - ctf_integer(unsigned long, ip, ip) + ctf_integer_hex(unsigned long, ip, ip) ctf_integer(bool, wait, wait) ctf_string(name, name) ) @@ -102,4 +102,4 @@ LTTNG_TRACEPOINT_EVENT(module_request, #endif /* LTTNG_TRACE_MODULE_H */ /* This part must be outside protection */ -#include +#include