#include <stdbool.h>
#include <string.h>
#include <linux/compiler.h>
#include "event.h"
#include "../ui/helpline.h"
#include "../ui/progress.h"
#include "../ui/util.h"
Go to the source code of this file.
|
#define | pr_fmt(fmt) fmt |
|
#define | pr_err(fmt, ...) eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_warning(fmt, ...) eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_info(fmt, ...) eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_debug(fmt, ...) eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_debugN(n, fmt, ...) eprintf(n, verbose, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_time_N(n, var, t, fmt, ...) eprintf_time(n, var, t, fmt, ##__VA_ARGS__) |
|
#define | pr_oe_time(t, fmt, ...) pr_time_N(1, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | pr_oe_time2(t, fmt, ...) pr_time_N(2, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) |
|
#define | STRERR_BUFSIZE 128 /* For the buffer size of str_error_r */ |
|
|
int | dump_printf (const char *fmt,...) __printf(1 |
|
int void | trace_event (union perf_event *event) |
|
int | ui__error (const char *format,...) __printf(1 |
|
int int | ui__warning (const char *format,...) __printf(1 |
|
int int void | pr_stat (const char *fmt,...) |
|
int | eprintf (int level, int var, const char *fmt,...) __printf(3 |
|
int int | eprintf_time (int level, int var, u64 t, const char *fmt,...) __printf(4 |
|
int int int | veprintf (int level, int var, const char *fmt, va_list args) |
|
int | perf_debug_option (const char *str) |
|
void | perf_debug_setup (void) |
|
int | perf_quiet_option (void) |
|
void | dump_stack (void) |
|
void | sighandler_dump_stack (int sig) |
|
◆ pr_debug
◆ pr_debug2
◆ pr_debug3
◆ pr_debug4
◆ pr_debugN
◆ pr_err
◆ pr_fmt
◆ pr_info
◆ pr_oe_time
◆ pr_oe_time2
◆ pr_time_N
◆ pr_warning
◆ STRERR_BUFSIZE
#define STRERR_BUFSIZE 128 /* For the buffer size of str_error_r */ |
◆ dump_printf()
int dump_printf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ dump_stack()
◆ eprintf()
int eprintf |
( |
int |
level, |
|
|
int |
var, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ eprintf_time()
int int eprintf_time |
( |
int |
level, |
|
|
int |
var, |
|
|
u64 |
t, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ perf_debug_option()
int perf_debug_option |
( |
const char * |
str | ) |
|
◆ perf_debug_setup()
void perf_debug_setup |
( |
void |
| ) |
|
◆ perf_quiet_option()
int perf_quiet_option |
( |
void |
| ) |
|
◆ pr_stat()
int int void pr_stat |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ sighandler_dump_stack()
void sighandler_dump_stack |
( |
int |
sig | ) |
|
◆ trace_event()
◆ ui__error()
int ui__error |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ ui__warning()
int int ui__warning |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ veprintf()
int int int veprintf |
( |
int |
level, |
|
|
int |
var, |
|
|
const char * |
fmt, |
|
|
va_list |
args |
|
) |
| |
◆ debug_data_convert
◆ debug_ordered_events
◆ dump_trace
◆ quiet
◆ verbose