Installing A-FOT
A-FOT is a tool used to improve the usability of the automatic FDO feature of GCC for openEuler. It can be independently installed on worker nodes. It can be used during the compilation stage.
Prerequisites
The environment must meet the following requirements:
- Architecture: Kunpeng Arm
- OS: openEuler 22.03 LTS, openEuler 22.03 LTS SP1, openEuler 22.03 LTS SP2, or openEuler 22.03 LTS SP3
- Compiler: GCC for openEuler 2.3.2 or later
- Software package: perf
Installing the Tool
- Install the A-FOT tool.
- Install the perf dependency.
- Use Yum to install the dependency after configuring a network or local repository.
- Install the RPM package. (Download perf-5.10.0-60.18.0.50.oe2203.aarch64.rpm.)
rpm -ivh perf-5.10.0-60.18.0.50.oe2203.aarch64.rpm
openEuler 22.03 LTS is used as an example. For other openEuler OSs, visit https://mirrors.huaweicloud.com/openeuler/OS version/everything/aarch64/Packages/ to search for and download the perf software package.
Replace OS version with a specific version.
- After A-FOT is installed, refer to A-FOT Commands to use the tool.
Parent topic: Installing a Tool Separately