-/* 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
#if !defined(LTTNG_TRACE_MODULE_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_MODULE_H
-#include <probes/lttng-tracepoint-event.h>
+#include <lttng/tracepoint-event.h>
#include <linux/version.h>
#ifdef CONFIG_MODULES
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
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)
)
#endif /* LTTNG_TRACE_MODULE_H */
/* This part must be outside protection */
-#include <probes/define_trace.h>
+#include <lttng/define_trace.h>