/tools/perf/util/ |
D | debug.h | 16 #define pr_fmt(fmt) fmt argument 19 #define pr_err(fmt, ...) \ argument 21 #define pr_warning(fmt, ...) \ argument 23 #define pr_info(fmt, ...) \ argument 25 #define pr_debug(fmt, ...) \ argument 27 #define pr_debugN(n, fmt, ...) \ argument 29 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument 30 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument 31 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) argument 33 #define pr_time_N(n, var, t, fmt, ...) \ 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 | debug.c | 32 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() 46 int eprintf(int level, int var, const char *fmt, ...) in eprintf() 58 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time() 73 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() 91 void pr_stat(const char *fmt, ...) in pr_stat() 101 int dump_printf(const char *fmt, ...) in dump_printf()
|
D | sort.c | 55 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf() 1719 struct perf_hpp_fmt *fmt; member 1743 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_sort_width() 1754 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() 1769 static int __sort__hpp_width(struct perf_hpp_fmt *fmt, in __sort__hpp_width() 1784 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() 1798 static int64_t __sort__hpp_cmp(struct perf_hpp_fmt *fmt, in __sort__hpp_cmp() 1807 static int64_t __sort__hpp_collapse(struct perf_hpp_fmt *fmt, in __sort__hpp_collapse() 1818 static int64_t __sort__hpp_sort(struct perf_hpp_fmt *fmt, in __sort__hpp_sort() 1869 static void hse_free(struct perf_hpp_fmt *fmt) in hse_free() [all …]
|
D | strbuf.c | 94 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv() 128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf()
|
/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/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() 224 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn() 240 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn() 248 int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf() 264 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf() 475 static void fmt_free(struct perf_hpp_fmt *fmt) in fmt_free() 493 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_warning(fmt, ...) __pr(__pr_warning, 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/lib/ |
D | internal.h | 9 #define __pr(level, fmt, ...) \ argument 14 #define pr_warning(fmt, ...) __pr(LIBPERF_WARN, fmt, ##__VA_ARGS__) argument 15 #define pr_info(fmt, ...) __pr(LIBPERF_INFO, fmt, ##__VA_ARGS__) argument 16 #define pr_debug(fmt, ...) __pr(LIBPERF_DEBUG, fmt, ##__VA_ARGS__) argument
|
/tools/perf/pmu-events/ |
D | json.h | 19 #define pr_fmt(fmt) fmt argument 21 #define pr_err(fmt, ...) \ argument 24 #define pr_info(fmt, ...) \ argument 27 #define pr_debug(fmt, ...) \ argument
|
/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 72 char fmt[] = "key %d remote ip 0x%x\n"; in _gre_get_tunnel() local 111 char fmt[] = "key %d remote ip6 ::%x label %x\n"; in _ip6gretap_get_tunnel() local 174 char fmt[] = "key %d remote ip 0x%x erspan version %d\n"; in _erspan_get_tunnel() local 259 char fmt[] = "ip6erspan get key %d remote ip6 ::%x erspan version %d\n"; in _ip4ip6erspan_get_tunnel() local 334 char fmt[] = "key %d remote ip 0x%x vxlan gbp 0x%x\n"; in _vxlan_get_tunnel() local 379 char fmt[] = "key %d remote ip6 ::%x label %x\n"; in _ip6vxlan_get_tunnel() local 440 char fmt[] = "key %d remote ip 0x%x geneve class 0x%x\n"; in _geneve_get_tunnel() local 498 char fmt[] = "key %d remote ip 0x%x geneve class 0x%x\n"; in _ip6geneve_get_tunnel() local 554 char fmt[] = "remote ip 0x%x\n"; in _ipip_get_tunnel() local 602 char fmt[] = "remote ip6 %x::%x\n"; in _ipip6_get_tunnel() local [all …]
|
/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 | 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 | 409 struct perf_hpp_fmt fmt; member 428 static int c2c_width(struct perf_hpp_fmt *fmt, in c2c_width() 445 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() 492 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() 506 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() 520 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_count() 530 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in offset_entry() 558 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry() 579 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_hitm_entry() 664 ld_llcmiss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ld_llcmiss_entry() [all …]
|
D | builtin-diff.c | 61 struct perf_hpp_fmt fmt; member 72 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member 480 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file() 918 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta() 927 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta_abs() 936 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio() 945 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff() 1066 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local 1300 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline() 1320 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local [all …]
|
/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/testing/selftests/safesetid/ |
D | safesetid-test.c | 31 static void die(char *fmt, ...) in die() 40 static bool vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 83 static bool write_file(char *filename, char *fmt, ...) in write_file()
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 34 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 71 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 80 static void write_file(char *filename, char *fmt, ...) in write_file()
|
/tools/testing/selftests/rseq/ |
D | rseq.h | 74 #define rseq_log(fmt, args...) \ argument 78 #define rseq_bug(fmt, args...) \ argument
|
/tools/bpf/bpftool/ |
D | json_writer.c | 152 void jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, va_list ap) in jsonw_vprintf_enquote() 160 void jsonw_printf(json_writer_t *self, const char *fmt, ...) in jsonw_printf() 208 void jsonw_float_fmt(json_writer_t *self, const char *fmt, double num) in jsonw_float_fmt() 263 const char *fmt, in jsonw_float_field_fmt()
|
/tools/lib/bpf/ |
D | libbpf_internal.h | 57 #define __pr(level, fmt, ...) \ argument 62 #define pr_warning(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) argument 63 #define pr_info(fmt, ...) __pr(LIBBPF_INFO, fmt, ##__VA_ARGS__) argument 64 #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) argument
|
/tools/perf/tests/ |
D | attr.c | 51 #define __WRITE_ASS(str, fmt, data) \ argument 65 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field) argument
|