Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
sort.h File Reference
#include "../builtin.h"
#include "util.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 "strlist.h"
#include "values.h"
#include "../perf.h"
#include "debug.h"
#include "header.h"
#include "parse-options.h"
#include "parse-events.h"
#include "thread.h"
#include "sort.h"

Go to the source code of this file.

Data Structures

struct  he_stat
 
struct  hist_entry
 
struct  sort_entry
 

Enumerations

enum  sort_type {
  SORT_PID, SORT_COMM, SORT_DSO, SORT_SYM,
  SORT_PARENT, SORT_CPU, SORT_DSO_FROM, SORT_DSO_TO,
  SORT_SYM_FROM, SORT_SYM_TO, SORT_MISPREDICT, SORT_SRCLINE
}
 

Functions

void setup_sorting (const char *const usagestr[], const struct option *opts)
 
int sort_dimension__add (const char *)
 
void sort_entry__setup_elide (struct sort_entry *self, struct strlist *list, const char *list_name, FILE *fp)
 

Variables

regex_t parent_regex
 
const charsort_order
 
const char default_parent_pattern []
 
const charparent_pattern
 
const char default_sort_order []
 
int sort__need_collapse
 
int sort__has_parent
 
int sort__has_sym
 
int sort__branch_mode
 
struct sort_entry sort_comm
 
struct sort_entry sort_dso
 
struct sort_entry sort_sym
 
struct sort_entry sort_parent
 
struct sort_entry sort_dso_from
 
struct sort_entry sort_dso_to
 
struct sort_entry sort_sym_from
 
struct sort_entry sort_sym_to
 
enum sort_type sort__first_dimension
 
struct sort_entry sort_thread
 
struct list_head hist_entry__sort_list
 

Enumeration Type Documentation

enum sort_type
Enumerator:
SORT_PID 
SORT_COMM 
SORT_DSO 
SORT_SYM 
SORT_PARENT 
SORT_CPU 
SORT_DSO_FROM 
SORT_DSO_TO 
SORT_SYM_FROM 
SORT_SYM_TO 
SORT_MISPREDICT 
SORT_SRCLINE 

Definition at line 90 of file sort.h.

Function Documentation

void setup_sorting ( const char *const  usagestr[],
const struct option opts 
)

Definition at line 566 of file sort.c.

int sort_dimension__add ( const char )

Definition at line 502 of file sort.c.

void sort_entry__setup_elide ( struct sort_entry self,
struct strlist list,
const char list_name,
FILE *  fp 
)

Definition at line 581 of file sort.c.

Variable Documentation

const char default_parent_pattern[]

Definition at line 5 of file sort.c.

const char default_sort_order[]

Definition at line 7 of file sort.c.

struct list_head hist_entry__sort_list
const char* parent_pattern

Definition at line 6 of file sort.c.

regex_t parent_regex

Definition at line 4 of file sort.c.

int sort__branch_mode

Definition at line 12 of file sort.c.

enum sort_type sort__first_dimension

Definition at line 14 of file sort.c.

int sort__has_parent

Definition at line 10 of file sort.c.

int sort__has_sym

Definition at line 11 of file sort.c.

int sort__need_collapse

Definition at line 9 of file sort.c.

struct sort_entry sort_comm

Definition at line 120 of file sort.c.

struct sort_entry sort_dso

Definition at line 201 of file sort.c.

struct sort_entry sort_dso_from

Definition at line 362 of file sort.c.

struct sort_entry sort_dso_to

Definition at line 428 of file sort.c.

const char* sort_order

Definition at line 8 of file sort.c.

struct sort_entry sort_parent

Definition at line 320 of file sort.c.

struct sort_entry sort_sym

Definition at line 237 of file sort.c.

struct sort_entry sort_sym_from

Definition at line 435 of file sort.c.

struct sort_entry sort_sym_to

Definition at line 442 of file sort.c.

struct sort_entry sort_thread

Definition at line 67 of file sort.c.