这篇文章将为大家详细讲解有关linux中perf怎么用,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
centos 7
# Performance analysis tools for Linux
yum install perf
perf record -e page-faults -g -p <PID>
perf report -i perf.data
? Help
V Verbose (DSO names in callchains, etc)
E Expand all callchains
ENTER Zoom into DSO/Threads & Annotate current symbol
关于“linux中perf怎么用”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。