Skip to content

Instantly share code, notes, and snippets.

@rzezeski
Created May 20, 2015 20:58
Show Gist options
  • Select an option

  • Save rzezeski/d8a1bf0e2482c48975da to your computer and use it in GitHub Desktop.

Select an option

Save rzezeski/d8a1bf0e2482c48975da to your computer and use it in GitHub Desktop.
# dtrace -qn 'sched:::on-cpu { onc=1; } fbt:ixgbe::entry /onc==1/ {start = timestamp;} fbt:ixgbe::return /onc==1/ {time = timestamp - start; @[probefunc] = lquantize( (time / 1000), 0, 100, 20); } sched:::off-cpu { onc=0; } tick-1sec { exit(0); }' -x aggpack
key min .-------. max | count
ixgbe_fc_autoneg < 0 : █ : >= 100 | 2
ixgbe_arm_watchdog_timer < 0 : █ : >= 100 | 3
ixgbe_local_timer < 0 : █ : >= 100 | 3
ixgbe_restart_watchdog_timer < 0 : █ : >= 100 | 3
ixgbe_stall_check < 0 : █ : >= 100 | 3
ixgbe_check_mac_link_generic < 0 : █ : >= 100 | 6
ixgbe_fc_enable < 0 : ▅▅ : >= 100 | 2
ixgbe_fc_enable_generic < 0 : ▅▅ : >= 100 | 2
ixgbe_driver_link_check < 0 : ▃▃ ▃: >= 100 | 3
ixgbe_link_timer < 0 : ▃▃ ▃: >= 100 | 3
ixgbe_check_link < 0 : ▅ ▅: >= 100 | 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment