| /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_info(fmt, ...) \ argument 27 #define pr_debug(fmt, ...) \ argument 29 #define pr_debugN(n, fmt, ...) \ argument 31 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument 32 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument 33 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) argument 35 #define pr_time_N(n, var, t, fmt, ...) \ argument [all …]
|
| D | color.c | 51 const char *fmt, va_list args, const char *trail) in __color_vsnprintf() 76 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf() 100 const char *fmt, va_list args) in color_vsnprintf() 105 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf() 111 const char *fmt, ...) in color_snprintf() 122 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf() 179 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() 190 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() 196 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf() 207 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
|
| D | debug.c | 24 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() 38 int eprintf(int level, int var, const char *fmt, ...) in eprintf() 50 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time() 65 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() 83 void pr_stat(const char *fmt, ...) in pr_stat() 93 int dump_printf(const char *fmt, ...) in dump_printf()
|
| D | path.c | 40 char *mkpath(const char *fmt, ...) in mkpath()
|
| D | sort.c | 35 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf() 1464 struct perf_hpp_fmt *fmt; member 1488 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_sort_width() 1499 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() 1514 static int __sort__hpp_width(struct perf_hpp_fmt *fmt, in __sort__hpp_width() 1529 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() 1543 static int64_t __sort__hpp_cmp(struct perf_hpp_fmt *fmt, in __sort__hpp_cmp() 1552 static int64_t __sort__hpp_collapse(struct perf_hpp_fmt *fmt, in __sort__hpp_collapse() 1563 static int64_t __sort__hpp_sort(struct perf_hpp_fmt *fmt, in __sort__hpp_sort() 1614 static void hse_free(struct perf_hpp_fmt *fmt) in hse_free() [all …]
|
| D | strbuf.c | 95 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv() 124 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf()
|
| D | top.c | 18 #define SNPRINTF(buf, size, fmt, args...) \ argument
|
| /tools/lib/traceevent/ |
| D | parse-utils.c | 28 void __vwarning(const char *fmt, va_list ap) in __vwarning() 40 void __warning(const char *fmt, ...) in __warning() 49 void __weak warning(const char *fmt, ...) in warning() 58 void __vpr_stat(const char *fmt, va_list ap) in __vpr_stat() 64 void __pr_stat(const char *fmt, ...) in __pr_stat() 73 void __weak vpr_stat(const char *fmt, va_list ap) in vpr_stat() 78 void __weak pr_stat(const char *fmt, ...) in pr_stat()
|
| D | trace-seq.c | 124 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) in trace_seq_printf() 161 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) in trace_seq_vprintf()
|
| /tools/lib/api/ |
| D | debug-internal.h | 6 #define __pr(func, fmt, ...) \ argument 16 #define pr_warning(fmt, ...) __pr(__pr_warning, fmt, ##__VA_ARGS__) argument 17 #define pr_info(fmt, ...) __pr(__pr_info, fmt, ##__VA_ARGS__) argument 18 #define pr_debug(fmt, ...) __pr(__pr_debug, fmt, ##__VA_ARGS__) argument
|
| /tools/perf/pmu-events/ |
| D | json.h | 18 #define pr_fmt(fmt) fmt argument 20 #define pr_err(fmt, ...) \ argument 23 #define pr_info(fmt, ...) \ argument 26 #define pr_debug(fmt, ...) \ argument
|
| /tools/perf/ui/ |
| D | hist.c | 12 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 20 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt() 108 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt() 127 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt_acc() 216 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn() 232 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn() 240 int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf() 256 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf() 473 struct perf_hpp_fmt *fmt = &perf_hpp__format[i]; in perf_hpp__init() local 537 struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp; in perf_hpp__cancel_cumulate() local [all …]
|
| D | helpline.c | 44 void ui_helpline__vpush(const char *fmt, va_list ap) in ui_helpline__vpush() 56 void ui_helpline__fpush(const char *fmt, ...) in ui_helpline__fpush() 71 int ui_helpline__vshow(const char *fmt, va_list ap) in ui_helpline__vshow()
|
| /tools/lib/ |
| D | vsprintf.c | 5 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf() 13 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf()
|
| /tools/usb/usbip/libsrc/ |
| D | usbip_common.h | 51 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME argument 52 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ argument 55 #define err(fmt, args...) \ argument 65 #define info(fmt, args...) \ argument 75 #define dbg(fmt, args...) \ argument
|
| /tools/perf/ |
| D | builtin-diff.c | 38 struct perf_hpp_fmt fmt; member 49 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member 385 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file() 601 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta() 610 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio() 619 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff() 727 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local 820 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline() 840 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local 849 static int __hpp__color_compare(struct perf_hpp_fmt *fmt, in __hpp__color_compare() [all …]
|
| /tools/testing/selftests/mount/ |
| D | unprivileged-remount-test.c | 47 static void die(char *fmt, ...) in die() 56 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 94 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 104 static void write_file(char *filename, char *fmt, ...) in write_file()
|
| /tools/testing/selftests/capabilities/ |
| D | test_execve.c | 31 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 65 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 74 static void write_file(char *filename, char *fmt, ...) in write_file()
|
| /tools/perf/tests/ |
| D | attr.c | 44 #define __WRITE_ASS(str, fmt, data) \ argument 58 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field) argument
|
| /tools/perf/ui/gtk/ |
| D | helpline.c | 27 static int gtk_helpline_show(const char *fmt, va_list ap) in gtk_helpline_show()
|
| D | hists.c | 11 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() 291 struct perf_hpp_fmt *fmt; in perf_gtk__show_hists() local 409 struct perf_hpp_fmt *fmt; in perf_gtk__add_hierarchy_entries() local 494 struct perf_hpp_fmt *fmt; in perf_gtk__show_hierarchy() local
|
| /tools/testing/selftests/nsfs/ |
| D | owner.c | 18 #define pr_err(fmt, ...) \ argument
|
| /tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-log.h | 40 #define intel_pt_log(fmt, ...) \ argument
|
| /tools/perf/ui/stdio/ |
| D | hist.c | 380 struct perf_hpp_fmt *fmt; in __hist_entry__snprintf() local 425 struct perf_hpp_fmt *fmt; in hist_entry__hierarchy_fprintf() local 545 struct perf_hpp_fmt *fmt; in hists__fprintf_hierarchy_headers() local 636 struct perf_hpp_fmt *fmt; in fprintf_line() local 663 struct perf_hpp_fmt *fmt; in hists__fprintf_standard_headers() local
|
| /tools/perf/arch/x86/util/ |
| D | header.c | 23 __get_cpuid(char *buffer, size_t sz, const char *fmt) in __get_cpuid()
|