"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/instrumentation/events/skb.h" between
lttng-modules-2.13.1.tar.bz2 and lttng-modules-2.13.2.tar.bz2

About: LTTng-modules (Linux Trace Toolkit Next Generation) is a system software package for correlated tracing of the Linux kernel, applications and libraries: This package contains the Linux kernel tracing modules.

skb.h  (lttng-modules-2.13.1.tar.bz2):skb.h  (lttng-modules-2.13.2.tar.bz2)
skipping to change at line 16 skipping to change at line 16
#define LTTNG_TRACE_SKB_H #define LTTNG_TRACE_SKB_H
#include <lttng/tracepoint-event.h> #include <lttng/tracepoint-event.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <lttng/kernel-version.h> #include <lttng/kernel-version.h>
/* /*
* Tracepoint for free an sk_buff: * Tracepoint for free an sk_buff:
*/ */
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
LTTNG_TRACEPOINT_ENUM(skb_drop_reason,
TP_ENUM_VALUES(
ctf_enum_value("NOT_SPECIFIED", SKB_DROP_REASON_NOT_SPECIFIED)
ctf_enum_value("NO_SOCKET", SKB_DROP_REASON_NO_SOCKET)
ctf_enum_value("PKT_TOO_SMALL", SKB_DROP_REASON_PKT_TOO_SMALL)
ctf_enum_value("TCP_CSUM", SKB_DROP_REASON_TCP_CSUM)
ctf_enum_value("SOCKET_FILTER", SKB_DROP_REASON_SOCKET_FILTER)
ctf_enum_value("UDP_CSUM", SKB_DROP_REASON_UDP_CSUM)
ctf_enum_value("MAX", SKB_DROP_REASON_MAX)
)
)
LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
skb_kfree,
TP_PROTO(struct sk_buff *skb, void *location,
enum skb_drop_reason reason),
TP_ARGS(skb, location, reason),
TP_FIELDS(
ctf_integer_hex(void *, skbaddr, skb)
ctf_integer_hex(void *, location, location)
ctf_integer_network(unsigned short, protocol, skb->protocol)
ctf_enum(skb_drop_reason, uint8_t, reason, reason)
)
)
#else
LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb, LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
skb_kfree, skb_kfree,
TP_PROTO(struct sk_buff *skb, void *location), TP_PROTO(struct sk_buff *skb, void *location),
TP_ARGS(skb, location), TP_ARGS(skb, location),
TP_FIELDS( TP_FIELDS(
ctf_integer_hex(void *, skbaddr, skb) ctf_integer_hex(void *, skbaddr, skb)
ctf_integer_hex(void *, location, location) ctf_integer_hex(void *, location, location)
ctf_integer_network(unsigned short, protocol, skb->protocol) ctf_integer_network(unsigned short, protocol, skb->protocol)
) )
) )
#endif
LTTNG_TRACEPOINT_EVENT_MAP(consume_skb, LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
skb_consume, skb_consume,
TP_PROTO(struct sk_buff *skb), TP_PROTO(struct sk_buff *skb),
TP_ARGS(skb), TP_ARGS(skb),
TP_FIELDS( TP_FIELDS(
 End of changes. 2 change blocks. 
0 lines changed or deleted 31 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)