Simplifying Function Tracing for the Modern GCC
Steven Rostedt wanted to do a little housekeeping, specifically with the function tracing code used in debugging the kernel. Up until then, the kernel could enable function tracing using either GCC's -pg flag or a combination of -pg and -mfentry. In each case, GCC would create a special routine that would execute at the start of each function, so the kernel could track calls to all functions. ............
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.