Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
annotate.c File Reference
#include "util.h"
#include "build-id.h"
#include "color.h"
#include "cache.h"
#include "symbol.h"
#include "debug.h"
#include "annotate.h"
#include <pthread.h>

Go to the source code of this file.

Functions

int ins__scnprintf (struct ins *ins, char *bf, size_t size, struct ins_operands *ops)
 
bool ins__is_call (const struct ins *ins)
 
bool ins__is_jump (const struct ins *ins)
 
int symbol__annotate_init (struct map *map __maybe_unused, struct symbol *sym)
 
int symbol__alloc_hist (struct symbol *sym)
 
void symbol__annotate_zero_histograms (struct symbol *sym)
 
int symbol__inc_addr_samples (struct symbol *sym, struct map *map, int evidx, u64 addr)
 
void disasm_line__free (struct disasm_line *dl)
 
int disasm_line__scnprintf (struct disasm_line *dl, char *bf, size_t size, bool raw)
 
struct disasm_linedisasm__get_next_ip_line (struct list_head *head, struct disasm_line *pos)
 
int symbol__annotate (struct symbol *sym, struct map *map, size_t privsize)
 
int symbol__annotate_printf (struct symbol *sym, struct map *map, int evidx, bool full_paths, int min_pcnt, int max_lines, int context)
 
void symbol__annotate_zero_histogram (struct symbol *sym, int evidx)
 
void symbol__annotate_decay_histogram (struct symbol *sym, int evidx)
 
void disasm__purge (struct list_head *head)
 
size_t disasm__fprintf (struct list_head *head, FILE *fp)
 
int symbol__tty_annotate (struct symbol *sym, struct map *map, int evidx, bool print_lines, bool full_paths, int min_pcnt, int max_lines)
 

Variables

const chardisassembler_style
 
const charobjdump_path
 

Function Documentation

size_t disasm__fprintf ( struct list_head head,
FILE *  fp 
)

Definition at line 1103 of file annotate.c.

struct disasm_line* disasm__get_next_ip_line ( struct list_head head,
struct disasm_line pos 
)
read

Definition at line 593 of file annotate.c.

void disasm__purge ( struct list_head head)

Definition at line 1076 of file annotate.c.

void disasm_line__free ( struct disasm_line dl)

Definition at line 569 of file annotate.c.

int disasm_line__scnprintf ( struct disasm_line dl,
char bf,
size_t  size,
bool  raw 
)

Definition at line 580 of file annotate.c.

bool ins__is_call ( const struct ins ins)

Definition at line 102 of file annotate.c.

bool ins__is_jump ( const struct ins ins)

Definition at line 132 of file annotate.c.

int ins__scnprintf ( struct ins ins,
char bf,
size_t  size,
struct ins_operands ops 
)

Definition at line 39 of file annotate.c.

int symbol__alloc_hist ( struct symbol sym)

Definition at line 426 of file annotate.c.

int symbol__annotate ( struct symbol sym,
struct map map,
size_t  privsize 
)

Definition at line 754 of file annotate.c.

void symbol__annotate_decay_histogram ( struct symbol sym,
int  evidx 
)

Definition at line 1063 of file annotate.c.

int symbol__annotate_init ( struct map *map  __maybe_unused,
struct symbol sym 
)

Definition at line 419 of file annotate.c.

int symbol__annotate_printf ( struct symbol sym,
struct map map,
int  evidx,
bool  full_paths,
int  min_pcnt,
int  max_lines,
int  context 
)

Definition at line 982 of file annotate.c.

void symbol__annotate_zero_histogram ( struct symbol sym,
int  evidx 
)

Definition at line 1055 of file annotate.c.

void symbol__annotate_zero_histograms ( struct symbol sym)

Definition at line 452 of file annotate.c.

int symbol__inc_addr_samples ( struct symbol sym,
struct map map,
int  evidx,
u64  addr 
)

Definition at line 463 of file annotate.c.

int symbol__tty_annotate ( struct symbol sym,
struct map map,
int  evidx,
bool  print_lines,
bool  full_paths,
int  min_pcnt,
int  max_lines 
)

Definition at line 1114 of file annotate.c.

Variable Documentation

const char* disassembler_style

Definition at line 19 of file annotate.c.

const char* objdump_path

Definition at line 20 of file annotate.c.