I want to开发者_StackOverflow中文版 know what actually happens internally when the event written in the tap file occurs and how it is handled?
You should read the documents presented at the end of the SystemTap Documentation page, especially the Locating System Problems Using Dynamic Instrumentation OLS paper, to know a bit more about the internals.
The Introduction to KProbes article at LWN is worth a read too.
You can explore as deeply as you like. The architecture paper or the stap(1) man page are a good start. If you want to know everything, "stap -k ..." or "stap -p3 ..." lets you inspect the actual internal outputs of the systemtap script translator: the compiled C version of the script code.
精彩评论