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

Go to the source code of this file.

Classes

struct  perf_error_ops
 

Functions

int ui__getch (int delay_secs)
 
int ui__popup_menu (int argc, char *const argv[])
 
int ui__help_window (const char *text)
 
int ui__dialog_yesno (const char *msg)
 
int ui__question_window (const char *title, const char *text, const char *exit_msg, int delay_secs)
 
int perf_error__register (struct perf_error_ops *eops)
 
int perf_error__unregister (struct perf_error_ops *eops)
 

Function Documentation

◆ perf_error__register()

int perf_error__register ( struct perf_error_ops eops)

perf_error__register - Register error logging functions : The pointer to error logging function struct

Register UI-specific error logging functions. Before calling this, other logging functions should be unregistered, if any.

Definition at line 63 of file util.c.

◆ perf_error__unregister()

int perf_error__unregister ( struct perf_error_ops eops)

perf_error__unregister - Unregister error logging functions : The pointer to error logging function struct

Unregister already registered error logging functions.

Definition at line 78 of file util.c.

◆ ui__dialog_yesno()

int ui__dialog_yesno ( const char *  msg)

Definition at line 222 of file util.c.

Here is the call graph for this function:

◆ ui__getch()

int ui__getch ( int  delay_secs)

Definition at line 56 of file setup.c.

Here is the call graph for this function:

◆ ui__help_window()

int ui__help_window ( const char *  text)

Definition at line 217 of file util.c.

Here is the call graph for this function:

◆ ui__popup_menu()

int ui__popup_menu ( int  argc,
char *const  argv[] 
)

Definition at line 60 of file util.c.

Here is the call graph for this function:

◆ ui__question_window()

int ui__question_window ( const char *  title,
const char *  text,
const char *  exit_msg,
int  delay_secs 
)

Definition at line 165 of file util.c.

Here is the call graph for this function: