Fix: network instrumentation protocol enum
[lttng-modules.git] / instrumentation / events / lttng-module / skb.h
index 2079580aa0977a60e020e48461f4dbe6bffa9f71..77e1823a09129282e863aa98b6a58d20b90661a0 100644 (file)
@@ -4,7 +4,7 @@
 #if !defined(LTTNG_TRACE_SKB_H) || defined(TRACE_HEADER_MULTI_READ)
 #define LTTNG_TRACE_SKB_H
 
-#include "../../../probes/lttng-tracepoint-event.h"
+#include <probes/lttng-tracepoint-event.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include <linux/version.h>
@@ -21,8 +21,8 @@ LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
        TP_ARGS(skb, location),
 
        TP_FIELDS(
-               ctf_integer(void *, skbaddr, skb)
-               ctf_integer(void *, location, location)
+               ctf_integer_hex(void *, skbaddr, skb)
+               ctf_integer_hex(void *, location, location)
                ctf_integer_network(unsigned short, protocol, skb->protocol)
        )
 )
@@ -37,7 +37,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
        TP_ARGS(skb),
 
        TP_FIELDS(
-               ctf_integer(void *, skbaddr, skb)
+               ctf_integer_hex(void *, skbaddr, skb)
        )
 )
 #endif
@@ -50,7 +50,7 @@ LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
        TP_ARGS(skb, len),
 
        TP_FIELDS(
-               ctf_integer(const void *, skbaddr, skb)
+               ctf_integer_hex(const void *, skbaddr, skb)
                ctf_integer(int, len, len)
        )
 )
@@ -59,4 +59,4 @@ LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
 #endif /* LTTNG_TRACE_SKB_H */
 
 /* This part must be outside protection */
-#include "../../../probes/define_trace.h"
+#include <probes/define_trace.h>
This page took 0.023746 seconds and 4 git commands to generate.