Simplifying Function Tracing for the Modern GCC

Posted by bob on Jul 27, 2019 12:37 AM EDT
Linux Journal; By Zack Brown
Mail this story
Print this story

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

  Nav
» Read more about: Story Type: Editorial; Groups: Community, Kernel, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.