In this chapter, we ll explore the gcov utility and see how it can be used to both help test and support software profiling and optimization. We ll learn how to build software for use with gcov and then understand the various types of data that are provided. Finally, we ll investigate things to avoid when performing coverage testing.