Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
annotated_source Struct Reference

#include <annotate.h>

Data Fields

struct list_head source
struct source_linelines
int nr_histograms
int sizeof_sym_hist
struct sym_hist histograms [0]

Detailed Description

struct annotated_source - symbols with hits have this attached as in sannotation

: Array of addr hit histograms per event being monitored : If 'print_lines' is specified, per source code line percentages : source parsed from a disassembler like objdump -dS

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 93 of file annotate.h.

Field Documentation

struct sym_hist histograms[0]

Definition at line 98 of file annotate.h.

Definition at line 95 of file annotate.h.

int nr_histograms

Definition at line 96 of file annotate.h.

int sizeof_sym_hist

Definition at line 97 of file annotate.h.

struct list_head source

Definition at line 94 of file annotate.h.

The documentation for this struct was generated from the following file: