Skip to content
devicenull edited this page Sep 12, 2017 · 10 revisions

Basic steps to get Perf Reports

  1. Install Perf (make sure perf version matches kernel version)
  2. Install debug symbols for frr (for RHEL, frr-debuginfo)
  3. Run perf top -F 99 --call-graph=dwarf -p <pid> to get a generic overview of the system. Screenshots of this are useful
  4. Slightly more advanced usage: perf record -F 99 -g --call-graph=dwarf -- /usr/lib/frr/bgpd -A 127.0.0.1 then run vtysh -b, and wait for whatever event. Kill -9 bgpd after you'd like to stop recording

Clone this wiki locally