Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
TP_FIELDS(
ctf_integer(void *, skbaddr, skb)
TP_FIELDS(
ctf_integer(void *, skbaddr, skb)
- ctf_integer(unsigned int, len, skb_len)
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
ctf_integer(int, rc, rc)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,40))
+ ctf_integer(unsigned int, len, skb_len)
ctf_string(name, dev->name)
#else
ctf_string(name, dev->name)
#else
+ ctf_integer(unsigned int, len, skb->len)
ctf_string(name, skb->dev->name)
#endif
)
ctf_string(name, skb->dev->name)
#endif
)