kernel_optimize_test/include/trace
Neil Horman 4ea7e38696 dropmon: add ability to detect when hardware dropsrxpackets
Patch to add the ability to detect drops in hardware interfaces via dropwatch.
Adds a tracepoint to net_rx_action to signal everytime a napi instance is
polled.  The dropmon code then periodically checks to see if the rx_frames
counter has changed, and if so, adds a drop notification to the netlink
protocol, using the reserved all-0's vector to indicate the drop location was in
hardware, rather than somewhere in the code.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>

 include/linux/net_dropmon.h |    8 ++
 include/trace/napi.h        |   11 +++
 net/core/dev.c              |    5 +
 net/core/drop_monitor.c     |  124 ++++++++++++++++++++++++++++++++++++++++++--
 net/core/net-traces.c       |    4 +
 net/core/netpoll.c          |    2
 6 files changed, 149 insertions(+), 5 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-21 16:50:21 -07:00
..
block.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
boot.h tracing/fastboot: include missing headers 2008-12-12 09:26:13 +01:00
irq_event_types.h tracing: tracepoints for softirq entry/exit - tracepoints 2009-03-12 21:20:58 -04:00
irq.h tracing, genirq: add irq enter and exit trace events 2009-02-26 18:43:50 +01:00
kmemtrace.h kmemtrace: use tracepoints 2009-04-03 12:23:06 +02:00
lockdep_event_types.h tracing: remove obsolete TRACE_EVENT_FORMAT macro 2009-03-10 00:35:12 -04:00
lockdep.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
napi.h dropmon: add ability to detect when hardware dropsrxpackets 2009-05-21 16:50:21 -07:00
power.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00
sched_event_types.h tracing: flip the TP_printk and TP_fast_assign in the TRACE_EVENT macro 2009-03-10 12:41:38 -04:00
sched.h tracing: add schedule events to event trace 2009-02-24 21:54:07 -05:00
skb.h tracing, net: fix net tree and tracing tree merge interaction 2009-04-02 00:50:30 +02:00
syscall.h tracing/syscalls: use a dedicated file header 2009-04-09 05:43:32 +02:00
trace_event_types.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
trace_events.h tracing: add lockdep tracepoints for lock acquire/release 2009-03-04 18:49:58 +01:00
workqueue.h tracing: replace TP<var> with TP_<var> 2009-03-10 00:35:04 -04:00