How To Install flamegraph-stackcollapse-perf on Fedora 36
Introduction
In this tutorial we learn how to install flamegraph-stackcollapse-perf
on Fedora 36.
What is flamegraph-stackcollapse-perf
Scripts for collapsing perf output for consumption by flamegraph.
We can use yum
or dnf
to install flamegraph-stackcollapse-perf
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install flamegraph-stackcollapse-perf.
Install flamegraph-stackcollapse-perf on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install flamegraph-stackcollapse-perf
using dnf
by running the following command:
sudo dnf -y install flamegraph-stackcollapse-perf
Install flamegraph-stackcollapse-perf on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install flamegraph-stackcollapse-perf
using yum
by running the following command:
sudo yum -y install flamegraph-stackcollapse-perf
How To Uninstall flamegraph-stackcollapse-perf on Fedora 36
To uninstall only the flamegraph-stackcollapse-perf
package we can use the following command:
sudo dnf remove flamegraph-stackcollapse-perf
flamegraph-stackcollapse-perf Package Contents on Fedora 36
/usr/bin/aix-perf.pl
/usr/bin/pkgsplit-perf.pl
/usr/bin/range-perf.pl
/usr/bin/stackcollapse-perf-sched.awk
/usr/bin/stackcollapse-perf.pl
/usr/share/man/man1/aix-perf.pl.1.gz
/usr/share/man/man1/range-perf.pl.1.gz
/usr/share/man/man1/stackcollapse-perf.pl.1.gz
References
Summary
In this tutorial we learn how to install flamegraph-stackcollapse-perf
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).