STACKCOLLAPSE-PERF.PL(1)

πŸ“¦
version 1.0 Β· 3 versions
, in epel 9

πŸ’– NAME πŸ’–

okay so bestie, this is the STACKCOLLAPSE-PERF.PL(1) manual page, and it’s for stackcollapse-perf.pl version 1.0 β€” yes, the whole thing is giving β€œmanual page for stackcollapse-perf.pl 1.0” energy πŸ’…βœ¨.


✨ DESCRIPTION ✨

okay so the description starts off iconic and a little unhinged: it literally opens with Unknown option: help 😭 and then gives you the usage line:

USAGE: ./stackcollapse-perf.pl [options] infile > outfile

like, hello?? infile goes in, outfile comes out, no cap 🫢.

πŸŽ€ the options menu πŸŽ€

  • --pid β€” include PID with process names [1] πŸ¦‹
  • --tid β€” include TID and PID with process names [1] 🌸
  • --inline β€” un-inline using addr2line 🧚
  • --all β€” all annotations (--kernel --jit) πŸ”₯
  • --kernel β€” annotate kernel functions with a _[k] πŸ‘‘
  • --jit β€” annotate jit functions with a _[j] πŸ’…
  • --context β€” adds source context to --inline ✨
  • --srcline β€” parses output of 'perf script -F+srcline' and adds source context ⭐
  • --addrs β€” include raw addresses where symbols can't be found πŸ’€
  • --event-filter=EVENT β€” event name filter πŸŽ€

🫢 footnote [1] 🫢

perf script must emit both PID and TIDs for these to work; eg, Linux < 4.1:

perf script -f comm,pid,tid,cpu,time,event,ip,sym,dso,trace

for Linux >= 4.1:

perf script -F comm,pid,tid,cpu,time,event,ip,sym,dso,trace

If you save this output add --header on Linux >= 3.14 to include perf info πŸ“.


mwah πŸ’‹ this has been the STACKCOLLAPSE-PERF.PL(1) page for stackcollapse-perf.pl version 1.0, dated November 2022 β€” periodt, go collapse some stacks responsibly 🫢🌈

πŸ“¦ where this page comes from