gprof: Debugging
1
1 9.4 Debugging 'gprof'
1 =====================
1
1 If 'gprof' was compiled with debugging enabled, the '-d' option triggers
1 debugging output (to stdout) which can be helpful in understanding its
1 operation. The debugging number specified is interpreted as a sum of
1 the following options:
1
1 2 - Topological sort
1 Monitor depth-first numbering of symbols during call graph analysis
1 4 - Cycles
1 Shows symbols as they are identified as cycle heads
1 16 - Tallying
1 As the call graph arcs are read, show each arc and how the total
1 calls to each function are tallied
1 32 - Call graph arc sorting
1 Details sorting individual parents/children within each call graph
1 entry
1 64 - Reading histogram and call graph records
1 Shows address ranges of histograms as they are read, and each call
1 graph arc
1 128 - Symbol table
1 Reading, classifying, and sorting the symbol table from the object
1 file. For line-by-line profiling ('-l' option), also shows line
1 numbers being assigned to memory addresses.
1 256 - Static call graph
1 Trace operation of '-c' option
1 512 - Symbol table and arc table lookups
1 Detail operation of lookup routines
1 1024 - Call graph propagation
1 Shows how function times are propagated along the call graph
1 2048 - Basic-blocks
1 Shows basic-block records as they are read from profile data (only
1 meaningful with '-l' option)
1 4096 - Symspecs
1 Shows symspec-to-symbol pattern matching operation
1 8192 - Annotate source
1 Tracks operation of '-A' option
1