Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
util.c File Reference
#include "util.h"
#include "../debug.h"

Go to the source code of this file.

Functions

int ui__error (const char *format,...)
 
int ui__warning (const char *format,...)
 
int perf_error__register (struct perf_error_ops *eops)
 
int perf_error__unregister (struct perf_error_ops *eops)
 

Function Documentation

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.

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.

int ui__error ( const char format,
  ... 
)

Definition at line 31 of file util.c.

int ui__warning ( const char format,
  ... 
)

Definition at line 43 of file util.c.