X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fbtrfs.h;h=f38444bfac11d290c92816cc59dc903d15a1790a;hb=3b4aafcbbef722c5d04f2fe06a47c47d4d23eda0;hp=7b2900856d4d18a0d5376abbd63be99063cf43fd;hpb=f7afb954f3908b302f7b3fef1b8195736845c41f;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/btrfs.h b/instrumentation/events/lttng-module/btrfs.h index 7b290085..f38444bf 100644 --- a/instrumentation/events/lttng-module/btrfs.h +++ b/instrumentation/events/lttng-module/btrfs.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ #undef TRACE_SYSTEM #define TRACE_SYSTEM btrfs #if !defined(LTTNG_TRACE_BTRFS_H) || defined(TRACE_HEADER_MULTI_READ) #define LTTNG_TRACE_BTRFS_H -#include +#include #include #include @@ -2331,7 +2331,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(alloc_extent_state, TP_FIELDS( ctf_integer_hex(const struct extent_state *, state, state) ctf_integer(gfp_t, mask, mask) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ) ) @@ -2345,7 +2345,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(free_extent_state, TP_FIELDS( ctf_integer_hex(const struct extent_state *, state, state) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ) ) #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)) @@ -2360,7 +2360,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(alloc_extent_state, TP_FIELDS( ctf_integer_hex(struct extent_state *, state, state) ctf_integer(gfp_t, mask, mask) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ) ) @@ -2374,7 +2374,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(free_extent_state, TP_FIELDS( ctf_integer_hex(struct extent_state *, state, state) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ) ) #endif @@ -2382,4 +2382,4 @@ LTTNG_TRACEPOINT_EVENT_MAP(free_extent_state, #endif /* LTTNG_TRACE_BTRFS_H */ /* This part must be outside protection */ -#include +#include