|
static struct ins_ops * | ins__find (struct arch *arch, const char *name) |
|
static void | ins__sort (struct arch *arch) |
|
static int | disasm_line__parse (char *line, const char **namep, char **rawp) |
|
static int | arch__grow_instructions (struct arch *arch) |
|
static int | arch__associate_ins_ops (struct arch *arch, const char *name, struct ins_ops *ops) |
|
static void | ins__delete (struct ins_operands *ops) |
|
static int | ins__raw_scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
int | ins__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
bool | ins__is_fused (struct arch *arch, const char *ins1, const char *ins2) |
|
static int | call__parse (struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) |
|
static int | call__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
bool | ins__is_call (const struct ins *ins) |
|
static int | jump__parse (struct arch *arch __maybe_unused, struct ins_operands *ops, struct map_symbol *ms) |
|
static int | jump__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
bool | ins__is_jump (const struct ins *ins) |
|
static int | comment__symbol (char *raw, char *comment, u64 *addrp, char **namep) |
|
static int | lock__parse (struct arch *arch, struct ins_operands *ops, struct map_symbol *ms) |
|
static int | lock__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
static void | lock__delete (struct ins_operands *ops) |
|
static int | mov__parse (struct arch *arch, struct ins_operands *ops, struct map_symbol *ms __maybe_unused) |
|
static int | mov__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
static int | dec__parse (struct arch *arch __maybe_unused, struct ins_operands *ops, struct map_symbol *ms __maybe_unused) |
|
static int | dec__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops) |
|
static int | nop__scnprintf (struct ins *ins __maybe_unused, char *bf, size_t size, struct ins_operands *ops __maybe_unused) |
|
bool | ins__is_ret (const struct ins *ins) |
|
bool | ins__is_lock (const struct ins *ins) |
|
static int | ins__key_cmp (const void *name, const void *insp) |
|
static int | ins__cmp (const void *a, const void *b) |
|
static struct ins_ops * | __ins__find (struct arch *arch, const char *name) |
|
static int | arch__key_cmp (const void *name, const void *archp) |
|
static int | arch__cmp (const void *a, const void *b) |
|
static void | arch__sort (void) |
|
static struct arch * | arch__find (const char *name) |
|
static struct annotated_source * | annotated_source__new (void) |
|
static __maybe_unused void | annotated_source__delete (struct annotated_source *src) |
|
static int | annotated_source__alloc_histograms (struct annotated_source *src, size_t size, int nr_hists) |
|
static int | symbol__alloc_hist_cycles (struct symbol *sym) |
|
void | symbol__annotate_zero_histograms (struct symbol *sym) |
|
static int | __symbol__account_cycles (struct cyc_hist *ch, u64 start, unsigned offset, unsigned cycles, unsigned have_start) |
|
static int | __symbol__inc_addr_samples (struct symbol *sym, struct map *map, struct annotated_source *src, int evidx, u64 addr, struct perf_sample *sample) |
|
static struct cyc_hist * | symbol__cycles_hist (struct symbol *sym) |
|
struct annotated_source * | symbol__hists (struct symbol *sym, int nr_hists) |
|
static int | symbol__inc_addr_samples (struct symbol *sym, struct map *map, struct perf_evsel *evsel, u64 addr, struct perf_sample *sample) |
|
static int | symbol__account_cycles (u64 addr, u64 start, struct symbol *sym, unsigned cycles) |
|
int | addr_map_symbol__account_cycles (struct addr_map_symbol *ams, struct addr_map_symbol *start, unsigned cycles) |
|
static unsigned | annotation__count_insn (struct annotation *notes, u64 start, u64 end) |
|
static void | annotation__count_and_fill (struct annotation *notes, u64 start, u64 end, struct cyc_hist *ch) |
|
void | annotation__compute_ipc (struct annotation *notes, size_t size) |
|
int | addr_map_symbol__inc_samples (struct addr_map_symbol *ams, struct perf_sample *sample, struct perf_evsel *evsel) |
|
int | hist_entry__inc_addr_samples (struct hist_entry *he, struct perf_sample *sample, struct perf_evsel *evsel, u64 ip) |
|
static void | disasm_line__init_ins (struct disasm_line *dl, struct arch *arch, struct map_symbol *ms) |
|
static void | annotation_line__delete (struct annotation_line *al) |
|
static struct annotation_line * | annotation_line__new (struct annotate_args *args, size_t privsize) |
|
static struct disasm_line * | disasm_line__new (struct annotate_args *args) |
|
void | disasm_line__free (struct disasm_line *dl) |
|
int | disasm_line__scnprintf (struct disasm_line *dl, char *bf, size_t size, bool raw) |
|
static void | annotation_line__add (struct annotation_line *al, struct list_head *head) |
|
struct annotation_line * | annotation_line__next (struct annotation_line *pos, struct list_head *head) |
|
static const char * | annotate__address_color (struct block_range *br) |
|
static const char * | annotate__asm_color (struct block_range *br) |
|
static void | annotate__branch_printf (struct block_range *br, u64 addr) |
|
static int | disasm_line__print (struct disasm_line *dl, u64 start, int addr_fmt_width) |
|
static int | annotation_line__print (struct annotation_line *al, struct symbol *sym, u64 start, struct perf_evsel *evsel, u64 len, int min_pcnt, int printed, int max_lines, struct annotation_line *queue, int addr_fmt_width) |
|
static int | symbol__parse_objdump_line (struct symbol *sym, FILE *file, struct annotate_args *args, int *line_nr) |
|
static | __attribute__ ((constructor)) |
|
static void | delete_last_nop (struct symbol *sym) |
|
int | symbol__strerror_disassemble (struct symbol *sym __maybe_unused, struct map *map, int errnum, char *buf, size_t buflen) |
|
static int | dso__disassemble_filename (struct dso *dso, char *filename, size_t filename_size) |
|
static int | symbol__disassemble (struct symbol *sym, struct annotate_args *args) |
|
static void | calc_percent (struct sym_hist *hist, struct annotation_data *sample, s64 offset, s64 end) |
|
static void | annotation__calc_percent (struct annotation *notes, struct perf_evsel *evsel, s64 len) |
|
void | symbol__calc_percent (struct symbol *sym, struct perf_evsel *evsel) |
|
int | symbol__annotate (struct symbol *sym, struct map *map, struct perf_evsel *evsel, size_t privsize, struct annotation_options *options, struct arch **parch) |
|
static void | insert_source_line (struct rb_root *root, struct annotation_line *al) |
|
static int | cmp_source_line (struct annotation_line *a, struct annotation_line *b) |
|
static void | __resort_source_line (struct rb_root *root, struct annotation_line *al) |
|
static void | resort_source_line (struct rb_root *dest_root, struct rb_root *src_root) |
|
static void | print_summary (struct rb_root *root, const char *filename) |
|
static void | symbol__annotate_hits (struct symbol *sym, struct perf_evsel *evsel) |
|
static int | annotated_source__addr_fmt_width (struct list_head *lines, u64 start) |
|
int | symbol__annotate_printf (struct symbol *sym, struct map *map, struct perf_evsel *evsel, struct annotation_options *opts) |
|
static void | FILE__set_percent_color (void *fp __maybe_unused, double percent __maybe_unused, bool current __maybe_unused) |
|
static int | FILE__set_jumps_percent_color (void *fp __maybe_unused, int nr __maybe_unused, bool current __maybe_unused) |
|
static int | FILE__set_color (void *fp __maybe_unused, int color __maybe_unused) |
|
static void | FILE__printf (void *fp, const char *fmt,...) |
|
static void | FILE__write_graph (void *fp, int graph) |
|
int | symbol__annotate_fprintf2 (struct symbol *sym, FILE *fp) |
|
int | map_symbol__annotation_dump (struct map_symbol *ms, struct perf_evsel *evsel) |
|
void | symbol__annotate_zero_histogram (struct symbol *sym, int evidx) |
|
void | symbol__annotate_decay_histogram (struct symbol *sym, int evidx) |
|
void | annotated_source__purge (struct annotated_source *as) |
|
static size_t | disasm_line__fprintf (struct disasm_line *dl, FILE *fp) |
|
size_t | disasm__fprintf (struct list_head *head, FILE *fp) |
|
bool | disasm_line__is_valid_local_jump (struct disasm_line *dl, struct symbol *sym) |
|
void | annotation__mark_jump_targets (struct annotation *notes, struct symbol *sym) |
|
void | annotation__set_offsets (struct annotation *notes, s64 size) |
|
static int | width_jumps (int n) |
|
void | annotation__init_column_widths (struct annotation *notes, struct symbol *sym) |
|
void | annotation__update_column_widths (struct annotation *notes) |
|
static void | annotation__calc_lines (struct annotation *notes, struct map *map, struct rb_root *root) |
|
static void | symbol__calc_lines (struct symbol *sym, struct map *map, struct rb_root *root) |
|
int | symbol__tty_annotate2 (struct symbol *sym, struct map *map, struct perf_evsel *evsel, struct annotation_options *opts) |
|
int | symbol__tty_annotate (struct symbol *sym, struct map *map, struct perf_evsel *evsel, struct annotation_options *opts) |
|
bool | ui__has_annotation (void) |
|
double | annotation_line__max_percent (struct annotation_line *al, struct annotation *notes) |
|
static void | disasm_line__write (struct disasm_line *dl, struct annotation *notes, void *obj, char *bf, size_t size, void(*obj__printf)(void *obj, const char *fmt,...), void(*obj__write_graph)(void *obj, int graph)) |
|
static void | __annotation_line__write (struct annotation_line *al, struct annotation *notes, bool first_line, bool current_entry, bool change_color, int width, void *obj, int(*obj__set_color)(void *obj, int color), void(*obj__set_percent_color)(void *obj, double percent, bool current), int(*obj__set_jumps_percent_color)(void *obj, int nr, bool current), void(*obj__printf)(void *obj, const char *fmt,...), void(*obj__write_graph)(void *obj, int graph)) |
|
void | annotation_line__write (struct annotation_line *al, struct annotation *notes, struct annotation_write_ops *ops) |
|
int | symbol__annotate2 (struct symbol *sym, struct map *map, struct perf_evsel *evsel, struct annotation_options *options, struct arch **parch) |
|
int | __annotation__scnprintf_samples_period (struct annotation *notes, char *bf, size_t size, struct perf_evsel *evsel, bool show_freq) |
|
static int | annotation_config__cmp (const void *name, const void *cfgp) |
|
static int | annotation__config (const char *var, const char *value, void *data __maybe_unused) |
|
void | annotation_config__init (void) |
|