systemtap的注意事项:
1、 函数和探针是在关中断情况下运行
Note that all SystemTap functions and probes run with interrupts disabled,
thus you cannot call functions that might sleep within the embedded C.
2、全局变量是有锁保证可以并发运行的
The translator asserts certain safety constraints. It ensures that no handler routine can run for too long,allocate memory, perform unsafe operations, or unintentionally interfere with the kernel. Use of script
global variables is locked to protect against manipulation by concurrent probe handlers.
本文详细阐述了系统tap在使用过程中需注意的关键事项,包括函数和探针在关中断状态下运行,全局变量的安全保护措施等。
661

被折叠的 条评论
为什么被折叠?



