#include "../builtin.h"
#include <regex.h>
#include "color.h"
#include <linux/list.h>
#include "cache.h"
#include <linux/rbtree.h>
#include "symbol.h"
#include "string.h"
#include "callchain.h"
#include "values.h"
#include "../perf.h"
#include "debug.h"
#include "header.h"
#include <subcmd/parse-options.h>
#include "parse-events.h"
#include "hist.h"
#include "srcline.h"
Go to the source code of this file.
|
enum | sort_mode {
SORT_MODE__NORMAL,
SORT_MODE__BRANCH,
SORT_MODE__MEMORY,
SORT_MODE__TOP,
SORT_MODE__DIFF,
SORT_MODE__TRACEPOINT
} |
|
enum | sort_type {
SORT_PID,
SORT_COMM,
SORT_DSO,
SORT_SYM,
SORT_PARENT,
SORT_CPU,
SORT_SOCKET,
SORT_SRCLINE,
SORT_SRCFILE,
SORT_LOCAL_WEIGHT,
SORT_GLOBAL_WEIGHT,
SORT_TRANSACTION,
SORT_TRACE,
SORT_SYM_SIZE,
SORT_DSO_SIZE,
SORT_CGROUP_ID,
__SORT_BRANCH_STACK,
SORT_DSO_FROM = __SORT_BRANCH_STACK,
SORT_DSO_TO,
SORT_SYM_FROM,
SORT_SYM_TO,
SORT_MISPREDICT,
SORT_ABORT,
SORT_IN_TX,
SORT_CYCLES,
SORT_SRCLINE_FROM,
SORT_SRCLINE_TO,
__SORT_MEMORY_MODE,
SORT_MEM_DADDR_SYMBOL = __SORT_MEMORY_MODE,
SORT_MEM_DADDR_DSO,
SORT_MEM_LOCKED,
SORT_MEM_TLB,
SORT_MEM_LVL,
SORT_MEM_SNOOP,
SORT_MEM_DCACHELINE,
SORT_MEM_IADDR_SYMBOL,
SORT_MEM_PHYS_DADDR
} |
|
|
static __pure bool | hist_entry__has_callchains (struct hist_entry *he) |
|
static bool | hist_entry__has_pairs (struct hist_entry *he) |
|
static struct hist_entry * | hist_entry__next_pair (struct hist_entry *he) |
|
static void | hist_entry__add_pair (struct hist_entry *pair, struct hist_entry *he) |
|
static float | hist_entry__get_percent_limit (struct hist_entry *he) |
|
static u64 | cl_address (u64 address) |
|
static u64 | cl_offset (u64 address) |
|
int | setup_sorting (struct perf_evlist *evlist) |
|
int | setup_output_field (void) |
|
void | reset_output_field (void) |
|
void | sort__setup_elide (FILE *fp) |
|
void | perf_hpp__set_elide (int idx, bool elide) |
|
int | report_parse_ignore_callees_opt (const struct option *opt, const char *arg, int unset) |
|
bool | is_strict_order (const char *order) |
|
int | hpp_dimension__add_output (unsigned col) |
|
void | reset_dimensions (void) |
|
int | sort_dimension__add (struct perf_hpp_list *list, const char *tok, struct perf_evlist *evlist, int level) |
|
int | output_field_add (struct perf_hpp_list *list, char *tok) |
|
int64_t | sort__iaddr_cmp (struct hist_entry *left, struct hist_entry *right) |
|
int64_t | sort__daddr_cmp (struct hist_entry *left, struct hist_entry *right) |
|
int64_t | sort__dcacheline_cmp (struct hist_entry *left, struct hist_entry *right) |
|
char * | hist_entry__srcline (struct hist_entry *he) |
|
◆ sort_mode
Enumerator |
---|
SORT_MODE__NORMAL | |
SORT_MODE__BRANCH | |
SORT_MODE__MEMORY | |
SORT_MODE__TOP | |
SORT_MODE__DIFF | |
SORT_MODE__TRACEPOINT | |
Definition at line 203 of file sort.h.
◆ sort_type
Enumerator |
---|
SORT_PID | |
SORT_COMM | |
SORT_DSO | |
SORT_SYM | |
SORT_PARENT | |
SORT_CPU | |
SORT_SOCKET | |
SORT_SRCLINE | |
SORT_SRCFILE | |
SORT_LOCAL_WEIGHT | |
SORT_GLOBAL_WEIGHT | |
SORT_TRANSACTION | |
SORT_TRACE | |
SORT_SYM_SIZE | |
SORT_DSO_SIZE | |
SORT_CGROUP_ID | |
__SORT_BRANCH_STACK | |
SORT_DSO_FROM | |
SORT_DSO_TO | |
SORT_SYM_FROM | |
SORT_SYM_TO | |
SORT_MISPREDICT | |
SORT_ABORT | |
SORT_IN_TX | |
SORT_CYCLES | |
SORT_SRCLINE_FROM | |
SORT_SRCLINE_TO | |
__SORT_MEMORY_MODE | |
SORT_MEM_DADDR_SYMBOL | |
SORT_MEM_DADDR_DSO | |
SORT_MEM_LOCKED | |
SORT_MEM_TLB | |
SORT_MEM_LVL | |
SORT_MEM_SNOOP | |
SORT_MEM_DCACHELINE | |
SORT_MEM_IADDR_SYMBOL | |
SORT_MEM_PHYS_DADDR | |
Definition at line 212 of file sort.h.
◆ cl_address()
static u64 cl_address |
( |
u64 |
address | ) |
|
|
inlinestatic |
◆ cl_offset()
static u64 cl_offset |
( |
u64 |
address | ) |
|
|
inlinestatic |
◆ hist_entry__add_pair()
◆ hist_entry__get_percent_limit()
static float hist_entry__get_percent_limit |
( |
struct hist_entry * |
he | ) |
|
|
inlinestatic |
◆ hist_entry__has_callchains()
static __pure bool hist_entry__has_callchains |
( |
struct hist_entry * |
he | ) |
|
|
inlinestatic |
◆ hist_entry__has_pairs()
static bool hist_entry__has_pairs |
( |
struct hist_entry * |
he | ) |
|
|
inlinestatic |
◆ hist_entry__next_pair()
◆ hist_entry__srcline()
char* hist_entry__srcline |
( |
struct hist_entry * |
he | ) |
|
◆ hpp_dimension__add_output()
int hpp_dimension__add_output |
( |
unsigned |
col | ) |
|
◆ is_strict_order()
bool is_strict_order |
( |
const char * |
order | ) |
|
◆ output_field_add()
◆ perf_hpp__set_elide()
void perf_hpp__set_elide |
( |
int |
idx, |
|
|
bool |
elide |
|
) |
| |
◆ report_parse_ignore_callees_opt()
int report_parse_ignore_callees_opt |
( |
const struct option * |
opt, |
|
|
const char * |
arg, |
|
|
int |
unset |
|
) |
| |
◆ reset_dimensions()
void reset_dimensions |
( |
void |
| ) |
|
◆ reset_output_field()
void reset_output_field |
( |
void |
| ) |
|
◆ setup_output_field()
int setup_output_field |
( |
void |
| ) |
|
◆ setup_sorting()
◆ sort__daddr_cmp()
◆ sort__dcacheline_cmp()
◆ sort__iaddr_cmp()
◆ sort__setup_elide()
void sort__setup_elide |
( |
FILE * |
fp | ) |
|
◆ sort_dimension__add()
◆ default_mem_sort_order
const char default_mem_sort_order[] |
◆ default_parent_pattern
const char default_parent_pattern[] |
◆ default_sort_order
const char* default_sort_order |
◆ field_order
◆ have_ignore_callees
◆ hist_entry__sort_list
struct list_head hist_entry__sort_list |
◆ ignore_callees_regex
regex_t ignore_callees_regex |
◆ parent_pattern
const char* parent_pattern |
◆ parent_regex
◆ sort__first_dimension
◆ sort__mode
◆ sort_comm
◆ sort_dso
◆ sort_dso_from
◆ sort_dso_to
◆ sort_order
◆ sort_parent
◆ sort_srcline
◆ sort_sym
◆ sort_sym_from
◆ sort_sym_to
◆ sort_thread