All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] netdev: Add tracepoint to network/driver interface
@ 2010-04-09  7:37 Koki Sanagi
  2010-04-09  7:39 ` [RFC PATCH 1/2] netdev: Add tracepoint to dev_hard_start_xmit Koki Sanagi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Koki Sanagi @ 2010-04-09  7:37 UTC (permalink / raw)
  To: netdev; +Cc: izumi.taku, kaneshige.kenji, davem, nhorman

These patches add tracepoints to network/driver interface.

These tracepoints are helpful to investigate whether a packet passes or not.
For example, when Heart Beat is disconnected, that information is helpful
to investigate the cause is whether driver/device side or not.

An output is below.

   sshd-2443  [001] 68238.415621: netdev_start_xmit: dev=eth3 skbaddr=f3db5138 len=114
<idle>-0     [001] 68238.417058: netdev_receive_skb: dev=eth3 skbaddr=f3c81540 len=52
<idle>-0     [001] 68238.704363: netdev_receive_skb: dev=eth3 skbaddr=f3c81540 len=100
   sshd-2443  [001] 68238.705459: netdev_start_xmit: dev=eth3 skbaddr=f3db5138 len=114
<idle>-0     [001] 68238.706891: netdev_receive_skb: dev=eth3 skbaddr=f3c81540 len=52
<idle>-0     [001] 68238.878736: netdev_receive_skb: dev=eth3 skbaddr=f3c81540 len=100
   sshd-2443  [001] 68238.880361: netdev_start_xmit: dev=eth3 skbaddr=f3db5138 len=114

As other use case I have, we can get throughput per interface with some sort of
perf scripts. I plan to create it.

Thanks
Koki Sanagi


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-12  5:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09  7:37 [RFC PATCH 0/2] netdev: Add tracepoint to network/driver interface Koki Sanagi
2010-04-09  7:39 ` [RFC PATCH 1/2] netdev: Add tracepoint to dev_hard_start_xmit Koki Sanagi
2010-04-09  7:41 ` [RFC PATCH 2/2] netdev: Add tracepoint to netif_receive_skb Koki Sanagi
2010-04-09 11:04 ` [RFC PATCH 0/2] netdev: Add tracepoint to network/driver interface Neil Horman
2010-04-12  5:20   ` Koki Sanagi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.