perf 是linux提供的一个免费profile工具。 比较全面的一个教程是:brendangregg https://www.brendangregg.com/perf.html https://www.brendangregg.com/perf.html 有时候,不小心知道了一些事,才发现自己所在乎的事是那么可笑。