Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
hist.c File Reference
#include "annotate.h"
#include "util.h"
#include "build-id.h"
#include "hist.h"
#include "session.h"
#include "sort.h"
#include <math.h>

Go to the source code of this file.

Enumerations

enum  hist_filter { HIST_FILTER__DSO, HIST_FILTER__THREAD, HIST_FILTER__PARENT, HIST_FILTER__SYMBOL }
 

Functions

u16 hists__col_len (struct hists *hists, enum hist_column col)
 
void hists__set_col_len (struct hists *hists, enum hist_column col, u16 len)
 
bool hists__new_col_len (struct hists *hists, enum hist_column col, u16 len)
 
void hists__reset_col_len (struct hists *hists)
 
void hists__calc_col_len (struct hists *hists, struct hist_entry *h)
 
void hists__output_recalc_col_len (struct hists *hists, int max_rows)
 
void hists__decay_entries (struct hists *hists, bool zap_user, bool zap_kernel)
 
void hists__decay_entries_threaded (struct hists *hists, bool zap_user, bool zap_kernel)
 
struct hist_entry__hists__add_branch_entry (struct hists *self, struct addr_location *al, struct symbol *sym_parent, struct branch_info *bi, u64 period)
 
struct hist_entry__hists__add_entry (struct hists *self, struct addr_location *al, struct symbol *sym_parent, u64 period)
 
int64_t hist_entry__cmp (struct hist_entry *left, struct hist_entry *right)
 
int64_t hist_entry__collapse (struct hist_entry *left, struct hist_entry *right)
 
void hist_entry__free (struct hist_entry *he)
 
void hists__collapse_resort (struct hists *hists)
 
void hists__collapse_resort_threaded (struct hists *hists)
 
void hists__output_resort (struct hists *hists)
 
void hists__output_resort_threaded (struct hists *hists)
 
void hists__filter_by_dso (struct hists *hists)
 
void hists__filter_by_thread (struct hists *hists)
 
void hists__filter_by_symbol (struct hists *hists)
 
int hist_entry__inc_addr_samples (struct hist_entry *he, int evidx, u64 ip)
 
int hist_entry__annotate (struct hist_entry *he, size_t privsize)
 
void hists__inc_nr_events (struct hists *hists, u32 type)
 

Variables

struct callchain_param callchain_param
 

Enumeration Type Documentation

Enumerator:
HIST_FILTER__DSO 
HIST_FILTER__THREAD 
HIST_FILTER__PARENT 
HIST_FILTER__SYMBOL 

Definition at line 16 of file hist.c.

Function Documentation

struct hist_entry* __hists__add_branch_entry ( struct hists self,
struct addr_location al,
struct symbol sym_parent,
struct branch_info bi,
u64  period 
)
read

Definition at line 324 of file hist.c.

struct hist_entry* __hists__add_entry ( struct hists self,
struct addr_location al,
struct symbol sym_parent,
u64  period 
)
read

Definition at line 352 of file hist.c.

int hist_entry__annotate ( struct hist_entry he,
size_t  privsize 
)

Definition at line 706 of file hist.c.

int64_t hist_entry__cmp ( struct hist_entry left,
struct hist_entry right 
)

Definition at line 378 of file hist.c.

int64_t hist_entry__collapse ( struct hist_entry left,
struct hist_entry right 
)

Definition at line 393 of file hist.c.

void hist_entry__free ( struct hist_entry he)

Definition at line 411 of file hist.c.

int hist_entry__inc_addr_samples ( struct hist_entry he,
int  evidx,
u64  ip 
)

Definition at line 701 of file hist.c.

void hists__calc_col_len ( struct hists hists,
struct hist_entry h 
)

Definition at line 66 of file hist.c.

u16 hists__col_len ( struct hists hists,
enum hist_column  col 
)

Definition at line 29 of file hist.c.

void hists__collapse_resort ( struct hists hists)

Definition at line 509 of file hist.c.

void hists__collapse_resort_threaded ( struct hists hists)

Definition at line 514 of file hist.c.

void hists__decay_entries ( struct hists hists,
bool  zap_user,
bool  zap_kernel 
)

Definition at line 220 of file hist.c.

void hists__decay_entries_threaded ( struct hists hists,
bool  zap_user,
bool  zap_kernel 
)

Definition at line 225 of file hist.c.

void hists__filter_by_dso ( struct hists hists)

Definition at line 619 of file hist.c.

void hists__filter_by_symbol ( struct hists hists)

Definition at line 683 of file hist.c.

void hists__filter_by_thread ( struct hists hists)

Definition at line 652 of file hist.c.

void hists__inc_nr_events ( struct hists hists,
u32  type 
)

Definition at line 711 of file hist.c.

bool hists__new_col_len ( struct hists hists,
enum hist_column  col,
u16  len 
)

Definition at line 39 of file hist.c.

void hists__output_recalc_col_len ( struct hists hists,
int  max_rows 
)

Definition at line 117 of file hist.c.

void hists__output_resort ( struct hists hists)

Definition at line 579 of file hist.c.

void hists__output_resort_threaded ( struct hists hists)

Definition at line 584 of file hist.c.

void hists__reset_col_len ( struct hists hists)

Definition at line 48 of file hist.c.

void hists__set_col_len ( struct hists hists,
enum hist_column  col,
u16  len 
)

Definition at line 34 of file hist.c.

Variable Documentation

Initial value:
= {
.mode = CHAIN_GRAPH_REL,
.min_percent = 0.5,
.order = ORDER_CALLEE
}

Definition at line 23 of file hist.c.