| /tools/perf/util/ |
| D | debug.h | 18 #define pr_fmt(fmt) fmt argument 21 #define pr_err(fmt, ...) \ argument 23 #define pr_warning(fmt, ...) \ argument 25 #define pr_warning_once(fmt, ...) ({ \ argument 32 #define pr_info(fmt, ...) \ argument 34 #define pr_debug(fmt, ...) \ argument 36 #define pr_debugN(n, fmt, ...) \ argument 38 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument 39 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument 40 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) argument [all …]
|
| 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() 142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() 153 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() 159 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf() 170 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
|
| D | block-info.c | 163 static int block_column_header(struct perf_hpp_fmt *fmt, in block_column_header() 175 static int block_column_width(struct perf_hpp_fmt *fmt, in block_column_width() 195 static int block_total_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_entry() 209 static int64_t block_total_cycles_pct_sort(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_sort() 239 static int block_cycles_lbr_entry(struct perf_hpp_fmt *fmt, in block_cycles_lbr_entry() 252 static int block_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_cycles_pct_entry() 268 static int block_avg_cycles_entry(struct perf_hpp_fmt *fmt, in block_avg_cycles_entry() 283 static int block_range_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_range_entry() 314 static int block_dso_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_dso_entry() 331 struct perf_hpp_fmt *fmt = &block_fmt->fmt; in init_block_header() local [all …]
|
| D | debug.c | 66 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() 82 int eprintf(int level, int var, const char *fmt, ...) in eprintf() 94 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time() 109 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() 127 void pr_stat(const char *fmt, ...) in pr_stat() 137 int dump_printf(const char *fmt, ...) in dump_printf()
|
| /tools/thermal/lib/ |
| 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/ |
| 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/ |
| 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/lib/traceevent/ |
| D | parse-utils.c | 14 void __vwarning(const char *fmt, va_list ap) in __vwarning() 26 void __warning(const char *fmt, ...) in __warning() 35 void __weak warning(const char *fmt, ...) in warning() 44 void __vpr_stat(const char *fmt, va_list ap) in __vpr_stat() 50 void __pr_stat(const char *fmt, ...) in __pr_stat() 59 void __weak vpr_stat(const char *fmt, va_list ap) in vpr_stat() 64 void __weak pr_stat(const char *fmt, ...) in pr_stat()
|
| /tools/testing/selftests/timens/ |
| 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/perf/ui/ |
| D | hist.c | 18 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 26 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() 114 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt() 133 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt_acc() 287 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn() 303 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn() 311 int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf() 327 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf() 538 static void fmt_free(struct perf_hpp_fmt *fmt) in fmt_free() 556 struct perf_hpp_fmt *fmt = &perf_hpp__format[i]; in perf_hpp__init() local [all …]
|
| 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/lib/api/ |
| 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/testing/selftests/kvm/include/ |
| D | ucall_common.h | 69 #define __REPORT_GUEST_ASSERT(_ucall, fmt, _args...) \ argument 81 #define REPORT_GUEST_ASSERT_1(ucall, fmt) \ argument 86 #define REPORT_GUEST_ASSERT_2(ucall, fmt) \ argument 92 #define REPORT_GUEST_ASSERT_3(ucall, fmt) \ argument 99 #define REPORT_GUEST_ASSERT_4(ucall, fmt) \ argument 107 #define REPORT_GUEST_ASSERT_N(ucall, fmt, args...) \ argument
|
| /tools/lib/ |
| 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/ |
| 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/ |
| 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()
|
| 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/ |
| D | builtin-c2c.c | 436 struct perf_hpp_fmt fmt; member 455 static int c2c_width(struct perf_hpp_fmt *fmt, in c2c_width() 472 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() 519 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() 533 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() 547 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_count() 557 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in offset_entry() 585 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry() 606 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_hitm_entry() 714 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_recs_entry() [all …]
|
| D | builtin-diff.c | 66 struct perf_hpp_fmt fmt; member 78 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member 508 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file() 876 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta() 885 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta_abs() 894 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio() 903 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff() 1069 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local 1321 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline() 1341 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local [all …]
|
| /tools/testing/selftests/x86/ |
| D | syscall_numbering.c | 85 #define msg(lvl, fmt, ...) printf("%-*s" fmt, offset(), "[" #lvl "]", \ argument 88 #define run(fmt, ...) msg(RUN, fmt, ## __VA_ARGS__) argument 89 #define info(fmt, ...) msg(INFO, fmt, ## __VA_ARGS__) argument 90 #define ok(fmt, ...) msg(OK, fmt, ## __VA_ARGS__) argument 92 #define fail(fmt, ...) \ argument 98 #define crit(fmt, ...) \ argument
|
| /tools/testing/selftests/proc/ |
| 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()
|
| D | proc-self-map-files-002.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/bpf/bpftool/ |
| D | jit_disasm.c | 43 static int printf_json(void *out, const char *fmt, va_list ap) in printf_json() 74 static int fprintf_json(void *out, const char *fmt, ...) in fprintf_json() 88 const char *fmt, ...) in fprintf_json_styled()
|
| /tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-log.h | 33 #define intel_pt_log(fmt, ...) \ argument 71 #define intel_pt_log_var(var, fmt) intel_pt_log("%s: " #var " " fmt "\n", __func__, var) argument
|
| /tools/bpf/resolve_btfids/ |
| D | main.c | 135 static int eprintf(int level, int var, const char *fmt, ...) in eprintf() 149 #define pr_fmt(fmt) fmt argument 152 #define pr_debug(fmt, ...) \ argument 154 #define pr_debugN(n, fmt, ...) \ argument 156 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument 157 #define pr_err(fmt, ...) \ argument 159 #define pr_info(fmt, ...) \ argument
|