diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/include/trace/events/net.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/include/trace/events/net.h')
-rw-r--r-- | ANDROID_3.4.5/include/trace/events/net.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/ANDROID_3.4.5/include/trace/events/net.h b/ANDROID_3.4.5/include/trace/events/net.h deleted file mode 100644 index f99645d0..00000000 --- a/ANDROID_3.4.5/include/trace/events/net.h +++ /dev/null @@ -1,84 +0,0 @@ -#undef TRACE_SYSTEM -#define TRACE_SYSTEM net - -#if !defined(_TRACE_NET_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_NET_H - -#include <linux/skbuff.h> -#include <linux/netdevice.h> -#include <linux/ip.h> -#include <linux/tracepoint.h> - -TRACE_EVENT(net_dev_xmit, - - TP_PROTO(struct sk_buff *skb, - int rc, - struct net_device *dev, - unsigned int skb_len), - - TP_ARGS(skb, rc, dev, skb_len), - - TP_STRUCT__entry( - __field( void *, skbaddr ) - __field( unsigned int, len ) - __field( int, rc ) - __string( name, dev->name ) - ), - - TP_fast_assign( - __entry->skbaddr = skb; - __entry->len = skb_len; - __entry->rc = rc; - __assign_str(name, dev->name); - ), - - TP_printk("dev=%s skbaddr=%p len=%u rc=%d", - __get_str(name), __entry->skbaddr, __entry->len, __entry->rc) -); - -DECLARE_EVENT_CLASS(net_dev_template, - - TP_PROTO(struct sk_buff *skb), - - TP_ARGS(skb), - - TP_STRUCT__entry( - __field( void *, skbaddr ) - __field( unsigned int, len ) - __string( name, skb->dev->name ) - ), - - TP_fast_assign( - __entry->skbaddr = skb; - __entry->len = skb->len; - __assign_str(name, skb->dev->name); - ), - - TP_printk("dev=%s skbaddr=%p len=%u", - __get_str(name), __entry->skbaddr, __entry->len) -) - -DEFINE_EVENT(net_dev_template, net_dev_queue, - - TP_PROTO(struct sk_buff *skb), - - TP_ARGS(skb) -); - -DEFINE_EVENT(net_dev_template, netif_receive_skb, - - TP_PROTO(struct sk_buff *skb), - - TP_ARGS(skb) -); - -DEFINE_EVENT(net_dev_template, netif_rx, - - TP_PROTO(struct sk_buff *skb), - - TP_ARGS(skb) -); -#endif /* _TRACE_NET_H */ - -/* This part must be outside protection */ -#include <trace/define_trace.h> |