Linux Perf
browser.h File Reference
#include <linux/types.h>
#include <stdarg.h>
Include dependency graph for browser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ui_browser
 

Macros

#define HE_COLORSET_TOP   50
 
#define HE_COLORSET_MEDIUM   51
 
#define HE_COLORSET_NORMAL   52
 
#define HE_COLORSET_SELECTED   53
 
#define HE_COLORSET_JUMP_ARROWS   54
 
#define HE_COLORSET_ADDR   55
 
#define HE_COLORSET_ROOT   56
 

Functions

int ui_browser__set_color (struct ui_browser *browser, int color)
 
void ui_browser__set_percent_color (struct ui_browser *browser, double percent, bool current)
 
bool ui_browser__is_current_entry (struct ui_browser *browser, unsigned row)
 
void ui_browser__refresh_dimensions (struct ui_browser *browser)
 
void ui_browser__reset_index (struct ui_browser *browser)
 
void ui_browser__gotorc_title (struct ui_browser *browser, int y, int x)
 
void ui_browser__gotorc (struct ui_browser *browser, int y, int x)
 
void ui_browser__write_nstring (struct ui_browser *browser, const char *msg, unsigned int width)
 
void ui_browser__vprintf (struct ui_browser *browser, const char *fmt, va_list args)
 
void ui_browser__printf (struct ui_browser *browser, const char *fmt,...)
 
void ui_browser__write_graph (struct ui_browser *browser, int graph)
 
void __ui_browser__line_arrow (struct ui_browser *browser, unsigned int column, u64 start, u64 end)
 
void ui_browser__mark_fused (struct ui_browser *browser, unsigned int column, unsigned int row, bool arrow_down)
 
void __ui_browser__show_title (struct ui_browser *browser, const char *title)
 
void ui_browser__show_title (struct ui_browser *browser, const char *title)
 
int ui_browser__show (struct ui_browser *browser, const char *title, const char *helpline,...)
 
void ui_browser__hide (struct ui_browser *browser)
 
int ui_browser__refresh (struct ui_browser *browser)
 
int ui_browser__run (struct ui_browser *browser, int delay_secs)
 
void ui_browser__update_nr_entries (struct ui_browser *browser, u32 nr_entries)
 
void ui_browser__handle_resize (struct ui_browser *browser)
 
void __ui_browser__vline (struct ui_browser *browser, unsigned int column, u16 start, u16 end)
 
int ui_browser__warning (struct ui_browser *browser, int timeout, const char *format,...)
 
int ui_browser__help_window (struct ui_browser *browser, const char *text)
 
bool ui_browser__dialog_yesno (struct ui_browser *browser, const char *text)
 
int ui_browser__input_window (const char *title, const char *text, char *input, const char *exit_msg, int delay_sec)
 
int tui__header_window (struct perf_env *env)
 
void ui_browser__argv_seek (struct ui_browser *browser, off_t offset, int whence)
 
unsigned int ui_browser__argv_refresh (struct ui_browser *browser)
 
void ui_browser__rb_tree_seek (struct ui_browser *browser, off_t offset, int whence)
 
unsigned int ui_browser__rb_tree_refresh (struct ui_browser *browser)
 
void ui_browser__list_head_seek (struct ui_browser *browser, off_t offset, int whence)
 
unsigned int ui_browser__list_head_refresh (struct ui_browser *browser)
 
void ui_browser__init (void)
 

Macro Definition Documentation

◆ HE_COLORSET_ADDR

#define HE_COLORSET_ADDR   55

Definition at line 13 of file browser.h.

◆ HE_COLORSET_JUMP_ARROWS

#define HE_COLORSET_JUMP_ARROWS   54

Definition at line 12 of file browser.h.

◆ HE_COLORSET_MEDIUM

#define HE_COLORSET_MEDIUM   51

Definition at line 9 of file browser.h.

◆ HE_COLORSET_NORMAL

#define HE_COLORSET_NORMAL   52

Definition at line 10 of file browser.h.

◆ HE_COLORSET_ROOT

#define HE_COLORSET_ROOT   56

Definition at line 14 of file browser.h.

◆ HE_COLORSET_SELECTED

#define HE_COLORSET_SELECTED   53

Definition at line 11 of file browser.h.

◆ HE_COLORSET_TOP

#define HE_COLORSET_TOP   50

Definition at line 8 of file browser.h.

Function Documentation

◆ __ui_browser__line_arrow()

void __ui_browser__line_arrow ( struct ui_browser browser,
unsigned int  column,
u64  start,
u64  end 
)

Definition at line 745 of file browser.c.

Here is the call graph for this function:

◆ __ui_browser__show_title()

void __ui_browser__show_title ( struct ui_browser browser,
const char *  title 
)

Definition at line 263 of file browser.c.

Here is the call graph for this function:

◆ __ui_browser__vline()

void __ui_browser__vline ( struct ui_browser browser,
unsigned int  column,
u16  start,
u16  end 
)

Definition at line 648 of file browser.c.

Here is the call graph for this function:

◆ tui__header_window()

int tui__header_window ( struct perf_env env)

Definition at line 97 of file header.c.

Here is the call graph for this function:

◆ ui_browser__argv_refresh()

unsigned int ui_browser__argv_refresh ( struct ui_browser browser)

Definition at line 624 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__argv_seek()

void ui_browser__argv_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 607 of file browser.c.

◆ ui_browser__dialog_yesno()

bool ui_browser__dialog_yesno ( struct ui_browser browser,
const char *  text 
)

Definition at line 247 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__gotorc()

void ui_browser__gotorc ( struct ui_browser browser,
int  y,
int  x 
)

Definition at line 53 of file browser.c.

◆ ui_browser__gotorc_title()

void ui_browser__gotorc_title ( struct ui_browser browser,
int  y,
int  x 
)

Definition at line 48 of file browser.c.

◆ ui_browser__handle_resize()

void ui_browser__handle_resize ( struct ui_browser browser)

Definition at line 204 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__help_window()

int ui_browser__help_window ( struct ui_browser browser,
const char *  text 
)

Definition at line 237 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__hide()

void ui_browser__hide ( struct ui_browser browser)

Definition at line 303 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__init()

void ui_browser__init ( void  )

Definition at line 783 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__input_window()

int ui_browser__input_window ( const char *  title,
const char *  text,
char *  input,
const char *  exit_msg,
int  delay_sec 
)

Definition at line 73 of file util.c.

Here is the call graph for this function:

◆ ui_browser__is_current_entry()

bool ui_browser__is_current_entry ( struct ui_browser browser,
unsigned  row 
)

Definition at line 190 of file browser.c.

◆ ui_browser__list_head_refresh()

unsigned int ui_browser__list_head_refresh ( struct ui_browser browser)

Definition at line 497 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__list_head_seek()

void ui_browser__list_head_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 104 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__mark_fused()

void ui_browser__mark_fused ( struct ui_browser browser,
unsigned int  column,
unsigned int  row,
bool  arrow_down 
)

Definition at line 754 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__printf()

void ui_browser__printf ( struct ui_browser browser,
const char *  fmt,
  ... 
)

◆ ui_browser__rb_tree_refresh()

unsigned int ui_browser__rb_tree_refresh ( struct ui_browser browser)

Definition at line 169 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__rb_tree_seek()

void ui_browser__rb_tree_seek ( struct ui_browser browser,
off_t  offset,
int  whence 
)

Definition at line 139 of file browser.c.

◆ ui_browser__refresh()

int ui_browser__refresh ( struct ui_browser browser)

Definition at line 352 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__refresh_dimensions()

void ui_browser__refresh_dimensions ( struct ui_browser browser)

Definition at line 195 of file browser.c.

◆ ui_browser__reset_index()

void ui_browser__reset_index ( struct ui_browser browser)

Definition at line 257 of file browser.c.

◆ ui_browser__run()

int ui_browser__run ( struct ui_browser browser,
int  delay_secs 
)

Definition at line 385 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__set_color()

int ui_browser__set_color ( struct ui_browser browser,
int  color 
)

Definition at line 33 of file browser.c.

◆ ui_browser__set_percent_color()

void ui_browser__set_percent_color ( struct ui_browser browser,
double  percent,
bool  current 
)

Definition at line 41 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__show()

int ui_browser__show ( struct ui_browser browser,
const char *  title,
const char *  helpline,
  ... 
)

Definition at line 277 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__show_title()

void ui_browser__show_title ( struct ui_browser browser,
const char *  title 
)

Definition at line 270 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__update_nr_entries()

void ui_browser__update_nr_entries ( struct ui_browser browser,
u32  nr_entries 
)

Definition at line 367 of file browser.c.

◆ ui_browser__vprintf()

void ui_browser__vprintf ( struct ui_browser browser,
const char *  fmt,
va_list  args 
)

◆ ui_browser__warning()

int ui_browser__warning ( struct ui_browser browser,
int  timeout,
const char *  format,
  ... 
)

Definition at line 211 of file browser.c.

Here is the call graph for this function:

◆ ui_browser__write_graph()

void ui_browser__write_graph ( struct ui_browser browser,
int  graph 
)

◆ ui_browser__write_nstring()

void ui_browser__write_nstring ( struct ui_browser browser,
const char *  msg,
unsigned int  width 
)