11 fprintf(stderr,
"Error:\n");
12 vfprintf(stderr, format, args);
18 fprintf(stderr,
"Warning:\n");
19 vfprintf(stderr, format, args);
37 va_start(args, format);
38 ret = perf_eops->
error(format, args);
49 va_start(args, format);
50 ret = perf_eops->
warning(format, args);
65 if (perf_eops != &default_eops)
80 if (perf_eops != eops)
static struct perf_error_ops * perf_eops
int ui__error(const char *format,...)
int ui__warning(const char *format,...)
static int perf_stdio__error(const char *format, va_list args)
static struct perf_error_ops default_eops
int perf_error__unregister(struct perf_error_ops *eops)
int(* warning)(const char *format, va_list args)
int perf_error__register(struct perf_error_ops *eops)
static int perf_stdio__warning(const char *format, va_list args)
int(* error)(const char *format, va_list args)