自从听到一位性能调优专家提到并展示了相关工具后,感觉到这类工具真的挑战了自己的认知。
以前增加调试手段只能重新加载版本,现在可以借助工具动态观测,直接从原始人进化了。
systemtap可以做什么:追踪函数调用、打热补丁、动态打印函数内部变量信息等。
资料:
IBM资料:
https://www.redbooks.ibm.com/redpapers/pdfs/redp4469.pdf
官网资料:SystemTap
红帽资料(第 37 章 SystemTap 入门 | Red Hat Product Documentation):https://docs.redhat.com/zh-cn/documentation/red_hat_enterprise_linux/8/pdf/monitoring_and_managing_system_status_and_performance/Red_Hat_Enterprise_Linux-8-Monitoring_and_managing_system_status_and_performance-zh-CN.pdf
博客:Linux指令:SystemTap内核跟踪和探测工具-CSDN博客
SystemTap使用技巧-CSDN博客
https://zhuanlan.zhihu.com/p/347313289