CG_ANNOTATE



CG_ANNOTATE

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

NAME

cg_annotate − post−processing tool for Cachegrind

SYNOPSIS

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

DESCRIPTION

cg_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

−−auto=<no|yes> [default: no]

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 ALSO

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

AUTHOR

Nicholas Nethercote.







Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.