CG_ANNOTATE - Online Linux Manual PageSection : 1
Updated : 10/15/2021
Source : Release 3​.18​.0
Note : cg_annotate

NAMEcg_annotate − post−processing tool for Cachegrind

SYNOPSIScg_annotate [options] cachegrind−out−file [source−files...]

DESCRIPTIONcg_annotate takes an output file produced by the Valgrind tool Cachegrind and prints the information in an easy−to−read form​.

OPTIONS−h −−help Show the help message​. −−version Show the version number​. −−show=A,B,C [default: all, using order in cachegrind​.out​.<pid>] Specifies which events to show (and the column order)​. Default is to use all present in the cachegrind​.out​.<pid> file (and use the order in the file)​. Useful if you want to concentrate on, for example, I cache misses (−−show=I1mr,ILmr), or data read misses (−−show=D1mr,DLmr), or LL data misses (−−show=DLmr,DLmw)​. Best used in conjunction with −−sort​. −−sort=A,B,C [default: order in cachegrind​.out​.<pid>] Specifies the events upon which the sorting of the function−by−function entries will be based​. −−threshold=X [default: 0​.1%] Sets the threshold for the function−by−function summary​. A function is shown if it accounts for more than X% of the counts for the primary sort event​. If auto−annotating, also affects which files are annotated​. Note: thresholds can be set for more than one of the events by appending any events for the −−sort option with a colon and a number (no spaces, though)​. E​.g​. if you want to see each function that covers more than 1% of LL read misses or 1% of LL write misses, use this option: −−sort=DLmr:1,DLmw:1 −−show−percs=<no|yes> [default: yes] When enabled, a percentage is printed next to all event counts​. This helps gauge the relative importance of each function and line​. −−auto=<no|yes> [default: yes] When enabled, automatically annotates every file that is mentioned in the function−by−function summary that can be found​. Also gives a list of those that couldn't be found​. −−context=N [default: 8] Print N lines of context before and after each annotated line​. Avoids printing large sections of source files that were not executed​. Use a large number (e​.g​. 100000) to show all source lines​. −I<dir> −−include=<dir> [default: none] Adds a directory to the list in which to search for files​. Multiple −I/−−include options can be given to add multiple directories​.

SEE ALSOvalgrind(1), $INSTALL/share/doc/valgrind/html/index​.html or http://www​.valgrind​.org/docs/manual/index​.html​.

AUTHORNicholas Nethercote​.
0
Johanes Gumabo
Data Size   :   11,077 byte
man-cg_annotate.1Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 258,000
Visitor ID   :     :  
Visitor IP   :   18.117.72.244   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.