Home
last modified time | relevance | path

Searched defs:fmt (Results 1 – 25 of 68) sorted by relevance

123

/tools/perf/util/
Ddebug.h20 #define pr_fmt(fmt) fmt argument
23 #define pr_err(fmt, ...) \ argument
25 #define pr_warning(fmt, ...) \ argument
27 #define pr_info(fmt, ...) \ argument
29 #define pr_debug(fmt, ...) \ argument
31 #define pr_debugN(n, fmt, ...) \ argument
33 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument
34 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument
35 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) argument
37 #define pr_time_N(n, var, t, fmt, ...) \ argument
[all …]
Dcolor.c52 const char *fmt, va_list args, const char *trail) in __color_vsnprintf()
77 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf()
101 const char *fmt, va_list args) in color_vsnprintf()
106 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf()
112 const char *fmt, ...) in color_snprintf()
123 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf()
180 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf()
191 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf()
197 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf()
208 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
Ddebug.c32 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()
Dsort.c42 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf()
1599 struct perf_hpp_fmt *fmt; member
1623 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_sort_width()
1634 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header()
1649 static int __sort__hpp_width(struct perf_hpp_fmt *fmt, in __sort__hpp_width()
1664 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry()
1678 static int64_t __sort__hpp_cmp(struct perf_hpp_fmt *fmt, in __sort__hpp_cmp()
1687 static int64_t __sort__hpp_collapse(struct perf_hpp_fmt *fmt, in __sort__hpp_collapse()
1698 static int64_t __sort__hpp_sort(struct perf_hpp_fmt *fmt, in __sort__hpp_sort()
1749 static void hse_free(struct perf_hpp_fmt *fmt) in hse_free()
[all …]
Dstrbuf.c88 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv()
122 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf()
Dhist.c1088 struct perf_hpp_fmt *fmt; in hist_entry__cmp() local
1108 struct perf_hpp_fmt *fmt; in hist_entry__collapse() local
1168 struct perf_hpp_fmt *fmt, int printed) in hist_entry__snprintf_alignment()
1191 static bool check_thread_entry(struct perf_hpp_fmt *fmt) in check_thread_entry()
1200 struct perf_hpp_fmt *fmt; in hist_entry__check_and_remove_filter() local
1289 struct perf_hpp_fmt *fmt; in hierarchy_insert_entry() local
1510 struct perf_hpp_fmt *fmt; in hist_entry__sort() local
1585 struct perf_hpp_fmt *fmt; in hierarchy_insert_output_entry() local
1669 struct perf_hpp_fmt *fmt; in __hists__insert_output_entry() local
2191 struct perf_hpp_fmt *fmt; in add_dummy_hierarchy_entry() local
[all …]
/tools/lib/traceevent/
Dparse-utils.c28 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()
Dtrace-seq.c124 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/perf/ui/
Dhist.c14 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
22 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt()
110 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt()
129 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt_acc()
220 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn()
236 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn()
244 int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf()
260 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf()
477 struct perf_hpp_fmt *fmt = &perf_hpp__format[i]; in perf_hpp__init() local
541 struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp; in perf_hpp__cancel_cumulate() local
[all …]
Dhelpline.c45 void ui_helpline__vpush(const char *fmt, va_list ap) in ui_helpline__vpush()
57 void ui_helpline__fpush(const char *fmt, ...) in ui_helpline__fpush()
72 int ui_helpline__vshow(const char *fmt, va_list ap) in ui_helpline__vshow()
77 void ui_helpline__printf(const char *fmt, ...) in ui_helpline__printf()
/tools/lib/api/
Ddebug-internal.h7 #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/pmu-events/
Djson.h19 #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/usb/usbip/libsrc/
Dusbip_common.h52 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME argument
53 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ argument
56 #define err(fmt, args...) \ argument
66 #define info(fmt, args...) \ argument
76 #define dbg(fmt, args...) \ argument
/tools/perf/
Dbuiltin-diff.c43 struct perf_hpp_fmt fmt; member
54 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member
399 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file()
623 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta()
632 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta_abs()
641 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio()
650 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff()
768 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local
862 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline()
882 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local
[all …]
Dbuiltin-c2c.c367 struct perf_hpp_fmt fmt; member
386 static int c2c_width(struct perf_hpp_fmt *fmt, in c2c_width()
403 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header()
450 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry()
463 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in offset_entry()
491 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry()
512 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_hitm_entry()
597 ld_llcmiss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ld_llcmiss_entry()
647 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_recs_entry()
698 tot_loads_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_loads_entry()
[all …]
/tools/lib/
Dvsprintf.c6 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()
/tools/testing/selftests/mount/
Dunprivileged-remount-test.c48 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/testing/selftests/capabilities/
Dtest_execve.c34 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/perf/tests/
Dattr.c50 #define __WRITE_ASS(str, fmt, data) \ argument
64 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field) argument
/tools/testing/radix-tree/linux/
Dradix-tree.h20 #define printv(verbosity_level, fmt, ...) \ argument
/tools/testing/selftests/bpf/
Dsockmap_parse_prog.c8 #define bpf_printk(fmt, ...) \ argument
Dsockmap_verdict_prog.c8 #define bpf_printk(fmt, ...) \ argument
/tools/perf/ui/gtk/
Dhists.c14 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf()
294 struct perf_hpp_fmt *fmt; in perf_gtk__show_hists() local
412 struct perf_hpp_fmt *fmt; in perf_gtk__add_hierarchy_entries() local
497 struct perf_hpp_fmt *fmt; in perf_gtk__show_hierarchy() local
Dhelpline.c28 static int gtk_helpline_show(const char *fmt, va_list ap) in gtk_helpline_show()
/tools/perf/ui/stdio/
Dhist.c478 struct perf_hpp_fmt *fmt; in __hist_entry__snprintf() local
523 struct perf_hpp_fmt *fmt; in hist_entry__hierarchy_fprintf() local
654 struct perf_hpp_fmt *fmt; in hists__fprintf_hierarchy_headers() local
745 struct perf_hpp_fmt *fmt; in fprintf_line() local
772 struct perf_hpp_fmt *fmt; in hists__fprintf_standard_headers() local

123