| /tools/perf/util/ |
| A D | debug.h | 20 #define pr_fmt(fmt) fmt argument 23 #define pr_err(fmt, ...) \ argument 25 #define pr_warning(fmt, ...) \ argument 27 #define pr_warning_once(fmt, ...) ({ \ argument 34 #define pr_info(fmt, ...) \ argument 36 #define pr_debug(fmt, ...) \ argument 38 #define pr_debugN(n, fmt, ...) \ argument 40 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument 41 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument 45 #define pr_debug2_peo(fmt, ...) { \ argument [all …]
|
| A D | color.c | 14 const char *fmt, va_list args, const char *trail) in __color_vsnprintf() 39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() 63 const char *fmt, va_list args) in color_vsnprintf() 68 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf() 74 const char *fmt, ...) in color_snprintf() 85 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf() 114 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() 125 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() 131 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf() 142 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
|
| A D | block-info.c | 178 static int block_column_header(struct perf_hpp_fmt *fmt, in block_column_header() 190 static int block_column_width(struct perf_hpp_fmt *fmt, in block_column_width() 210 static int block_total_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_entry() 224 static int64_t block_total_cycles_pct_sort(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_sort() 254 static int block_cycles_lbr_entry(struct perf_hpp_fmt *fmt, in block_cycles_lbr_entry() 267 static int block_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_cycles_pct_entry() 283 static int block_avg_cycles_entry(struct perf_hpp_fmt *fmt, in block_avg_cycles_entry() 329 static int block_dso_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_dso_entry() 346 struct perf_hpp_fmt *fmt = &block_fmt->fmt; in init_block_header() local 357 static int block_branch_counter_entry(struct perf_hpp_fmt *fmt, in block_branch_counter_entry() [all …]
|
| A D | debug.c | 92 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() 108 int eprintf(int level, int var, const char *fmt, ...) in eprintf() 120 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time() 134 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() 152 void pr_stat(const char *fmt, ...) in pr_stat() 162 int dump_printf(const char *fmt, ...) in dump_printf()
|
| /tools/thermal/lib/ |
| A D | log.h | 18 #define DEBUG(fmt, ...) logit(LOG_DEBUG, "%s:%d: " fmt, __func__, __LINE__, ##__VA_ARGS__) argument 19 #define INFO(fmt, ...) logit(LOG_INFO, fmt, ##__VA_ARGS__) argument 20 #define NOTICE(fmt, ...) logit(LOG_NOTICE, fmt, ##__VA_ARGS__) argument 21 #define WARN(fmt, ...) logit(LOG_WARNING, fmt, ##__VA_ARGS__) argument 22 #define ERROR(fmt, ...) logit(LOG_ERR, fmt, ##__VA_ARGS__) argument 23 #define CRITICAL(fmt, ...) logit(LOG_CRIT, fmt, ##__VA_ARGS__) argument 24 #define ALERT(fmt, ...) logit(LOG_ALERT, fmt, ##__VA_ARGS__) argument 25 #define EMERG(fmt, ...) logit(LOG_EMERG, fmt, ##__VA_ARGS__) argument
|
| /tools/testing/selftests/powerpc/nx-gzip/include/ |
| A D | nx_dbg.h | 32 #define prt(fmt, ...) do { \ argument 47 #define prt_err(fmt, ...) do { if (nx_dbg >= 0) { \ argument 53 #define prt_warn(fmt, ...) do { if (nx_dbg >= 1) { \ argument 59 #define prt_info(fmt, ...) do { if (nx_dbg >= 2) { \ argument 64 #define prt_trace(fmt, ...) do { if (nx_gzip_trace_enabled()) { \ argument 69 #define prt_stat(fmt, ...) do { if (nx_gzip_gather_statistics()) { \ argument 74 #define hw_trace(fmt, ...) do { \ argument 80 #define sw_trace(fmt, ...) do { \ argument
|
| /tools/lib/perf/ |
| A D | internal.h | 11 #define __pr(level, fmt, ...) \ argument 16 #define pr_err(fmt, ...) __pr(LIBPERF_ERR, fmt, ##__VA_ARGS__) argument 17 #define pr_warning(fmt, ...) __pr(LIBPERF_WARN, fmt, ##__VA_ARGS__) argument 18 #define pr_info(fmt, ...) __pr(LIBPERF_INFO, fmt, ##__VA_ARGS__) argument 19 #define pr_debug(fmt, ...) __pr(LIBPERF_DEBUG, fmt, ##__VA_ARGS__) argument 20 #define pr_debug2(fmt, ...) __pr(LIBPERF_DEBUG2, fmt, ##__VA_ARGS__) argument 21 #define pr_debug3(fmt, ...) __pr(LIBPERF_DEBUG3, fmt, ##__VA_ARGS__) argument
|
| /tools/testing/selftests/timens/ |
| A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 10 #define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__) argument 12 #define pr_err(fmt, ...) \ argument 18 #define pr_fail(fmt, ...) \ argument 24 #define pr_perror(fmt, ...) pr_p(pr_err, fmt, ##__VA_ARGS__) argument
|
| /tools/testing/selftests/filesystems/overlayfs/ |
| A D | log.h | 6 #define pr_msg(fmt, lvl, ...) \ argument 10 #define pr_p(func, fmt, ...) func(fmt ": %m", ##__VA_ARGS__) argument 12 #define pr_err(fmt, ...) \ argument 18 #define pr_fail(fmt, ...) \ argument 24 #define pr_perror(fmt, ...) pr_p(pr_err, fmt, ##__VA_ARGS__) argument
|
| /tools/lib/api/ |
| A D | debug-internal.h | 7 #define __pr(func, fmt, ...) \ argument 17 #define pr_warn(fmt, ...) __pr(__pr_warn, fmt, ##__VA_ARGS__) argument 18 #define pr_info(fmt, ...) __pr(__pr_info, fmt, ##__VA_ARGS__) argument 19 #define pr_debug(fmt, ...) __pr(__pr_debug, fmt, ##__VA_ARGS__) argument
|
| /tools/perf/ui/ |
| A D | hist.c | 21 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 29 int nr_samples, const char *fmt, int len, in __hpp__fmt_print() 982 struct perf_hpp_fmt *fmt; in perf_hpp__setup_output_field() local 1005 struct perf_hpp_fmt *fmt; in perf_hpp__append_sort_keys() local 1025 struct perf_hpp_fmt *fmt, *tmp; in perf_hpp__reset_output_field() local 1041 struct perf_hpp_fmt *fmt; in hists__sort_list_width() local 1066 struct perf_hpp_fmt *fmt; in hists__overhead_width() local 1136 struct perf_hpp_fmt *fmt; in hists__reset_column_width() local 1151 struct perf_hpp_fmt *fmt; in perf_hpp__set_user_width() local 1211 struct perf_hpp_fmt *fmt; in perf_hpp__setup_hists_formats() local [all …]
|
| A D | helpline.c | 43 void ui_helpline__vpush(const char *fmt, va_list ap) in ui_helpline__vpush() 55 void ui_helpline__fpush(const char *fmt, ...) in ui_helpline__fpush() 70 int ui_helpline__vshow(const char *fmt, va_list ap) in ui_helpline__vshow() 75 void ui_helpline__printf(const char *fmt, ...) in ui_helpline__printf()
|
| /tools/include/nolibc/ |
| A D | stdio.h | 251 int __nolibc_printf(__nolibc_printf_cb cb, intptr_t state, size_t n, const char *fmt, va_list args) in __nolibc_printf() 388 int vfprintf(FILE *stream, const char *fmt, va_list args) in vfprintf() 394 int vprintf(const char *fmt, va_list args) in vprintf() 400 int fprintf(FILE *stream, const char *fmt, ...) in fprintf() 412 int printf(const char *fmt, ...) in printf() 424 int vdprintf(int fd, const char *fmt, va_list args) in vdprintf() 436 int dprintf(int fd, const char *fmt, ...) in dprintf() 458 int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) in vsnprintf() 471 int snprintf(char *buf, size_t size, const char *fmt, ...) in snprintf() 484 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() [all …]
|
| /tools/lib/ |
| A D | vsprintf.c | 6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf() 14 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf() 27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad()
|
| /tools/usb/usbip/libsrc/ |
| A D | usbip_common.h | 62 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME argument 63 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ argument 66 #define err(fmt, args...) \ argument 76 #define info(fmt, args...) \ argument 86 #define dbg(fmt, args...) \ argument
|
| /tools/testing/selftests/mount/ |
| A D | nosymfollow-test.c | 30 static void die(char *fmt, ...) in die() 40 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, in vmaybe_write_file() 76 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 85 static void write_file(char *filename, char *fmt, ...) in write_file()
|
| A D | unprivileged-remount-test.c | 48 static void die(char *fmt, ...) in die() 57 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 95 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 105 static void write_file(char *filename, char *fmt, ...) in write_file()
|
| /tools/perf/ |
| A D | builtin-c2c.c | 426 struct perf_hpp_fmt fmt; member 445 static int c2c_width(struct perf_hpp_fmt *fmt, in c2c_width() 576 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry() 777 percent_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in percent_color() 1271 mean_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in mean_entry() 1297 cpucnt_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in cpucnt_entry() 1311 cl_idx_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in cl_idx_entry() 1872 static void fmt_free(struct perf_hpp_fmt *fmt) in fmt_free() 1919 static int64_t c2c_se_cmp(struct perf_hpp_fmt *fmt, in c2c_se_cmp() 1928 static int64_t c2c_se_collapse(struct perf_hpp_fmt *fmt, in c2c_se_collapse() [all …]
|
| A D | builtin-diff.c | 67 struct perf_hpp_fmt fmt; member 79 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member 865 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta() 874 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta_abs() 883 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio() 892 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff() 1058 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local 1452 static int hpp__color_delta(struct perf_hpp_fmt *fmt, in hpp__color_delta() 1683 static int hpp__width(struct perf_hpp_fmt *fmt, in hpp__width() 1729 struct perf_hpp_fmt *fmt = &dfmt->fmt; in data__hpp_register() local [all …]
|
| /tools/testing/selftests/ublk/ |
| A D | utils.h | 42 static inline void ublk_err(const char *fmt, ...) in ublk_err() 50 static inline void ublk_log(const char *fmt, ...) in ublk_log() 60 static inline void ublk_dbg(int level, const char *fmt, ...) in ublk_dbg()
|
| /tools/verification/rv/src/ |
| A D | utils.c | 19 void err_msg(const char *fmt, ...) in err_msg() 34 void debug_msg(const char *fmt, ...) in debug_msg()
|
| /tools/testing/selftests/x86/ |
| A D | syscall_numbering.c | 86 #define msg(lvl, fmt, ...) printf("%-*s" fmt, offset(), "[" #lvl "]", \ argument 89 #define run(fmt, ...) msg(RUN, fmt, ## __VA_ARGS__) argument 90 #define info(fmt, ...) msg(INFO, fmt, ## __VA_ARGS__) argument 91 #define ok(fmt, ...) msg(OK, fmt, ## __VA_ARGS__) argument 93 #define fail(fmt, ...) \ argument 99 #define crit(fmt, ...) \ argument
|
| /tools/perf/util/bpf_skel/ |
| A D | bench_uprobe.bpf.c | 18 char fmt[] = "perf bench uprobe %u"; in BPF_UPROBE() local 33 char fmt[] = "perf bench uretprobe %u"; in BPF_URETPROBE() local
|
| /tools/testing/selftests/proc/ |
| A D | proc-self-map-files-001.c | 26 static void pass(const char *fmt, unsigned long a, unsigned long b) in pass() 36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail()
|
| /tools/testing/selftests/mm/ |
| A D | uffd-common.h | 43 #define _err(fmt, ...) \ argument 51 #define errexit(exitcode, fmt, ...) \ argument 57 #define err(fmt, ...) errexit(1, fmt, ##__VA_ARGS__) argument
|