diff --git a/en/device-dev/subsystems/Readme-EN.md b/en/device-dev/subsystems/Readme-EN.md index 0f37c6654ed3d5728e3dd6d7c3e66d0fc283151d..d684a73e18b78c3d474465598398e051d8911a3e 100644 --- a/en/device-dev/subsystems/Readme-EN.md +++ b/en/device-dev/subsystems/Readme-EN.md @@ -95,4 +95,5 @@ - [R&D Tools](subsys-toolchain.md) - [bytrace Usage Guidelines](subsys-toolchain-bytrace-guide.md) - [hdc\_std Usage Guidelines](subsys-toolchain-hdc-guide.md) + - [hiperf Usage Guidelines](subsys-toolchain-hiperf.md) - [XTS](subsys-xts-guide.md) \ No newline at end of file diff --git a/en/device-dev/subsystems/subsys-toolchain-hiperf.md b/en/device-dev/subsystems/subsys-toolchain-hiperf.md new file mode 100644 index 0000000000000000000000000000000000000000..213f606ba2163da611bd074e5aba5c89cb5b3718 --- /dev/null +++ b/en/device-dev/subsystems/subsys-toolchain-hiperf.md @@ -0,0 +1,535 @@ +# hiperf + +- [list](#section121805449461) + - [Parameters](#section42124492494) + - [Example](#section122129443486) + +- [stat](#section12940163061016) + - [Parameters](#section36541920145018) + - [Example](#section1132495515502) + - [Field Description](#section1958985055118) + +- [record](#section168751927524) + - [Parameters](#section113617912522) + - [Example](#section15998181516549) + +- [report](#section16327635174818) +- [Example](#section1197655116513) + +hiperf is a performance sampling and analysis tool provided for developers. It extends the user-mode capabilities based on the kernel perf mechanism and can conduct performance sampling of the specified application or the entire system. + +You can run the **hiperf -h** command to display the commands supported by hiperf. + +The following describes the common commands \(**list**, **stat**, **record**, and **report**\) supported by hiperf. + +## list + +### Parameters + +The **list** command lists all the perf events supported by the device. The event names are used for the **-e** and **-g** parameters of the **stat** and **record** commands. + +``` +hiperf list [event type] +``` + + +
| + | ++ | +
|---|---|
| + | +Lists the hardware events supported by the performance monitoring unit (PMU). + |
+
| + | ++ | +
| + | ++ | +
| + | ++ | +
| + | ++ | +