Linux Perf
|
#include <annotate.h>
Public Attributes | |
struct list_head | source |
int | nr_histograms |
size_t | sizeof_sym_hist |
struct cyc_hist * | cycles_hist |
struct sym_hist * | histograms |
struct annotated_source - symbols with hits have this attached as in sannotation
: Array of addr hit histograms per event being monitored nr_histograms: This may not be the same as evsel->evlist->nr_entries if we have more than a group in a evlist, where we will want to see each group separately, that is why symbol__annotate2() sets src->nr_histograms to evsel->nr_members. : If 'print_lines' is specified, per source code line percentages : source parsed from a disassembler like objdump -dS : Average cycles per basic block
lines is allocated, percentages calculated and all sorted by percentage when the annotation is about to be presented, so the percentages are for one of the entries in the histogram array, i.e. for the event/counter being presented. It is deallocated right after symbol__{tui,tty,etc}_annotate returns.
Definition at line 228 of file annotate.h.
struct cyc_hist* annotated_source::cycles_hist |
Definition at line 232 of file annotate.h.
struct sym_hist* annotated_source::histograms |
Definition at line 233 of file annotate.h.
int annotated_source::nr_histograms |
Definition at line 230 of file annotate.h.
size_t annotated_source::sizeof_sym_hist |
Definition at line 231 of file annotate.h.
struct list_head annotated_source::source |
Definition at line 229 of file annotate.h.