Linux Perf
netdev-times Namespace Reference

Functions

def diff_msec (src, dst)
 
def print_transmit (hunk)
 
def print_receive (hunk)
 
def trace_begin ()
 
def trace_end ()
 
def irq__softirq_entry (name, context, cpu, sec, nsec, pid, comm, callchain, vec)
 
def irq__softirq_exit (name, context, cpu, sec, nsec, pid, comm, callchain, vec)
 
def irq__softirq_raise (name, context, cpu, sec, nsec, pid, comm, callchain, vec)
 
def irq__irq_handler_entry (name, context, cpu, sec, nsec, pid, comm, callchain, irq, irq_name)
 
def irq__irq_handler_exit (name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret)
 
def napi__napi_poll (name, context, cpu, sec, nsec, pid, comm, callchain, napi, dev_name, work=None, budget=None)
 
def net__netif_receive_skb (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, skblen, dev_name)
 
def net__netif_rx (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, skblen, dev_name)
 
def net__net_dev_queue (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, skblen, dev_name)
 
def net__net_dev_xmit (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, skblen, rc, dev_name)
 
def skb__kfree_skb (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, protocol, location)
 
def skb__consume_skb (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr)
 
def skb__skb_copy_datagram_iovec (name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, skblen)
 
def handle_irq_handler_entry (event_info)
 
def handle_irq_handler_exit (event_info)
 
def handle_irq_softirq_raise (event_info)
 
def handle_irq_softirq_entry (event_info)
 
def handle_irq_softirq_exit (event_info)
 
def handle_napi_poll (event_info)
 
def handle_netif_rx (event_info)
 
def handle_netif_receive_skb (event_info)
 
def handle_net_dev_queue (event_info)
 
def handle_net_dev_xmit (event_info)
 
def handle_kfree_skb (event_info)
 
def handle_consume_skb (event_info)
 
def handle_skb_copy_datagram_iovec (event_info)
 

Variables

list all_event_list = [];
 
dictionary irq_dic = {};
 
dictionary net_rx_dic = {};
 
list receive_hunk_list = [];
 
list rx_skb_list = [];
 
int buffer_budget = 65536;
 
int of_count_rx_skb_list = 0;
 
list tx_queue_list = [];
 
int of_count_tx_queue_list = 0;
 
list tx_xmit_list = [];
 
int of_count_tx_xmit_list = 0;
 
list tx_free_list = [];
 
int show_tx = 0;
 
int show_rx = 0;
 
int dev = 0;
 
int debug = 0;
 
int EINFO_IDX_NAME = 0
 
int EINFO_IDX_CONTEXT = 1
 
int EINFO_IDX_CPU = 2
 
int EINFO_IDX_TIME = 3
 
int EINFO_IDX_PID = 4
 
int EINFO_IDX_COMM = 5
 

Function Documentation

◆ diff_msec()

def netdev-times.diff_msec (   src,
  dst 
)

Definition at line 57 of file netdev-times.py.

◆ handle_consume_skb()

def netdev-times.handle_consume_skb (   event_info)

Definition at line 450 of file netdev-times.py.

◆ handle_irq_handler_entry()

def netdev-times.handle_irq_handler_entry (   event_info)

Definition at line 303 of file netdev-times.py.

◆ handle_irq_handler_exit()

def netdev-times.handle_irq_handler_exit (   event_info)

Definition at line 310 of file netdev-times.py.

◆ handle_irq_softirq_entry()

def netdev-times.handle_irq_softirq_entry (   event_info)

Definition at line 336 of file netdev-times.py.

◆ handle_irq_softirq_exit()

def netdev-times.handle_irq_softirq_exit (   event_info)

Definition at line 340 of file netdev-times.py.

◆ handle_irq_softirq_raise()

def netdev-times.handle_irq_softirq_raise (   event_info)

Definition at line 322 of file netdev-times.py.

◆ handle_kfree_skb()

def netdev-times.handle_kfree_skb (   event_info)

Definition at line 427 of file netdev-times.py.

◆ handle_napi_poll()

def netdev-times.handle_napi_poll (   event_info)

Definition at line 358 of file netdev-times.py.

◆ handle_net_dev_queue()

def netdev-times.handle_net_dev_queue (   event_info)

Definition at line 399 of file netdev-times.py.

◆ handle_net_dev_xmit()

def netdev-times.handle_net_dev_xmit (   event_info)

Definition at line 410 of file netdev-times.py.

◆ handle_netif_receive_skb()

def netdev-times.handle_netif_receive_skb (   event_info)

Definition at line 384 of file netdev-times.py.

◆ handle_netif_rx()

def netdev-times.handle_netif_rx (   event_info)

Definition at line 368 of file netdev-times.py.

◆ handle_skb_copy_datagram_iovec()

def netdev-times.handle_skb_copy_datagram_iovec (   event_info)

Definition at line 460 of file netdev-times.py.

◆ irq__irq_handler_entry()

def netdev-times.irq__irq_handler_entry (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  irq,
  irq_name 
)

Definition at line 247 of file netdev-times.py.

◆ irq__irq_handler_exit()

def netdev-times.irq__irq_handler_exit (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  irq,
  ret 
)

Definition at line 252 of file netdev-times.py.

Here is the call graph for this function:

◆ irq__softirq_entry()

def netdev-times.irq__softirq_entry (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  vec 
)

Definition at line 228 of file netdev-times.py.

Here is the call graph for this function:

◆ irq__softirq_exit()

def netdev-times.irq__softirq_exit (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  vec 
)

Definition at line 234 of file netdev-times.py.

Here is the call graph for this function:

◆ irq__softirq_raise()

def netdev-times.irq__softirq_raise (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  vec 
)

Definition at line 240 of file netdev-times.py.

Here is the call graph for this function:

◆ napi__napi_poll()

def netdev-times.napi__napi_poll (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  napi,
  dev_name,
  work = None,
  budget = None 
)

Definition at line 257 of file netdev-times.py.

Here is the call graph for this function:

◆ net__net_dev_queue()

def netdev-times.net__net_dev_queue (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  skblen,
  dev_name 
)

Definition at line 275 of file netdev-times.py.

Here is the call graph for this function:

◆ net__net_dev_xmit()

def netdev-times.net__net_dev_xmit (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  skblen,
  rc,
  dev_name 
)

Definition at line 281 of file netdev-times.py.

Here is the call graph for this function:

◆ net__netif_receive_skb()

def netdev-times.net__netif_receive_skb (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  skblen,
  dev_name 
)

Definition at line 263 of file netdev-times.py.

Here is the call graph for this function:

◆ net__netif_rx()

def netdev-times.net__netif_rx (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  skblen,
  dev_name 
)

Definition at line 269 of file netdev-times.py.

Here is the call graph for this function:

◆ print_receive()

def netdev-times.print_receive (   hunk)

Definition at line 85 of file netdev-times.py.

Here is the call graph for this function:

◆ print_transmit()

def netdev-times.print_transmit (   hunk)

Definition at line 61 of file netdev-times.py.

Here is the call graph for this function:

◆ skb__consume_skb()

def netdev-times.skb__consume_skb (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr 
)

Definition at line 292 of file netdev-times.py.

Here is the call graph for this function:

◆ skb__kfree_skb()

def netdev-times.skb__kfree_skb (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  protocol,
  location 
)

Definition at line 287 of file netdev-times.py.

◆ skb__skb_copy_datagram_iovec()

def netdev-times.skb__skb_copy_datagram_iovec (   name,
  context,
  cpu,
  sec,
  nsec,
  pid,
  comm,
  callchain,
  skbaddr,
  skblen 
)

Definition at line 298 of file netdev-times.py.

◆ trace_begin()

def netdev-times.trace_begin ( )

Definition at line 151 of file netdev-times.py.

◆ trace_end()

def netdev-times.trace_end ( )

Definition at line 173 of file netdev-times.py.

Here is the call graph for this function:

Variable Documentation

◆ all_event_list

list netdev-times.all_event_list = [];

Definition at line 21 of file netdev-times.py.

◆ buffer_budget

int netdev-times.buffer_budget = 65536;

Definition at line 30 of file netdev-times.py.

◆ debug

int netdev-times.debug = 0;

Definition at line 46 of file netdev-times.py.

◆ dev

int netdev-times.dev = 0;

Definition at line 45 of file netdev-times.py.

◆ EINFO_IDX_COMM

int netdev-times.EINFO_IDX_COMM = 5

Definition at line 54 of file netdev-times.py.

◆ EINFO_IDX_CONTEXT

int netdev-times.EINFO_IDX_CONTEXT = 1

Definition at line 50 of file netdev-times.py.

◆ EINFO_IDX_CPU

int netdev-times.EINFO_IDX_CPU = 2

Definition at line 51 of file netdev-times.py.

◆ EINFO_IDX_NAME

int netdev-times.EINFO_IDX_NAME = 0

Definition at line 49 of file netdev-times.py.

◆ EINFO_IDX_PID

int netdev-times.EINFO_IDX_PID = 4

Definition at line 53 of file netdev-times.py.

◆ EINFO_IDX_TIME

int netdev-times.EINFO_IDX_TIME = 3

Definition at line 52 of file netdev-times.py.

◆ irq_dic

dictionary netdev-times.irq_dic = {};

Definition at line 22 of file netdev-times.py.

◆ net_rx_dic

dictionary netdev-times.net_rx_dic = {};

Definition at line 24 of file netdev-times.py.

◆ of_count_rx_skb_list

int netdev-times.of_count_rx_skb_list = 0;

Definition at line 32 of file netdev-times.py.

◆ of_count_tx_queue_list

int netdev-times.of_count_tx_queue_list = 0;

Definition at line 35 of file netdev-times.py.

◆ of_count_tx_xmit_list

int netdev-times.of_count_tx_xmit_list = 0;

Definition at line 38 of file netdev-times.py.

◆ receive_hunk_list

list netdev-times.receive_hunk_list = [];

Definition at line 26 of file netdev-times.py.

◆ rx_skb_list

list netdev-times.rx_skb_list = [];

Definition at line 27 of file netdev-times.py.

◆ show_rx

int netdev-times.show_rx = 0;

Definition at line 44 of file netdev-times.py.

◆ show_tx

int netdev-times.show_tx = 0;

Definition at line 43 of file netdev-times.py.

◆ tx_free_list

list netdev-times.tx_free_list = [];

Definition at line 40 of file netdev-times.py.

◆ tx_queue_list

list netdev-times.tx_queue_list = [];

Definition at line 34 of file netdev-times.py.

◆ tx_xmit_list

list netdev-times.tx_xmit_list = [];

Definition at line 37 of file netdev-times.py.