STACKCOLLAPSE-PERF.PL(1)
π 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 usingaddr2lineπ§--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
- epel 9: flamegraph-stackcollapse 1.0-12.20220917gitd9fcc27.el9 Β· CDDL-1.0 AND Apache-2.0 AND BSD-2-Clause AND GPL-2.0-or-later
- epel 9: flamegraph-stackcollapse-perf 1.0-12.20220917gitd9fcc27.el9 Β· CDDL-1.0 AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms