Home
last modified time | relevance | path

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

123

/tools/perf/util/
Ddebug.h18 #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 …]
Dcolor.c46 const char *fmt, va_list args, const char *trail) in __color_vsnprintf()
71 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf()
95 const char *fmt, va_list args) in color_vsnprintf()
100 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf()
106 const char *fmt, ...) in color_snprintf()
117 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf()
174 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf()
185 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf()
191 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf()
202 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
Ddebug.c25 static int _eprintf(int level, int var, const char *fmt, va_list args) in _eprintf()
39 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf()
44 int eprintf(int level, int var, const char *fmt, ...) in eprintf()
56 static int __eprintf_time(u64 t, const char *fmt, va_list args) in __eprintf_time()
71 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time()
89 void pr_stat(const char *fmt, ...) in pr_stat()
99 int dump_printf(const char *fmt, ...) in dump_printf()
Dpath.c62 static char *perf_vsnpath(char *buf, size_t n, const char *fmt, va_list args) in perf_vsnpath()
82 char *perf_pathdup(const char *fmt, ...) in perf_pathdup()
92 char *mkpath(const char *fmt, ...) in mkpath()
106 char *perf_path(const char *fmt, ...) in perf_path()
Dstrbuf.c85 void strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv()
108 void strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf()
Dtop.c18 #define SNPRINTF(buf, size, fmt, args...) \ argument
Dordered-events.c9 #define pr_N(n, fmt, ...) \ argument
12 #define pr(fmt, ...) pr_N(1, pr_fmt(fmt), ##__VA_ARGS__) argument
Dsort.c28 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf()
1356 struct perf_hpp_fmt *fmt; member
1394 void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists) in perf_hpp__reset_sort_width()
1405 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header()
1419 static int __sort__hpp_width(struct perf_hpp_fmt *fmt, in __sort__hpp_width()
1434 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry()
1448 static int64_t __sort__hpp_cmp(struct perf_hpp_fmt *fmt, in __sort__hpp_cmp()
1457 static int64_t __sort__hpp_collapse(struct perf_hpp_fmt *fmt, in __sort__hpp_collapse()
1468 static int64_t __sort__hpp_sort(struct perf_hpp_fmt *fmt, in __sort__hpp_sort()
1767 struct perf_hpp_fmt *fmt; in perf_hpp__set_elide() 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.c11 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
19 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt()
107 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt()
126 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt_acc()
215 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn()
230 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn()
237 static int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf()
253 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf()
450 struct perf_hpp_fmt *fmt = &perf_hpp__format[i]; in perf_hpp__init() local
538 struct perf_hpp_fmt *fmt; in perf_hpp__setup_output_field() local
[all …]
Dhelpline.c43 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()
/tools/usb/usbip/libsrc/
Dusbip_common.h48 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME argument
49 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ argument
52 #define err(fmt, args...) \ argument
62 #define info(fmt, args...) \ argument
72 #define dbg(fmt, args...) \ argument
/tools/perf/
Dbuiltin-diff.c38 struct perf_hpp_fmt fmt; member
49 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member
396 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file()
612 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta()
621 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio()
630 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff()
737 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local
831 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline()
851 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local
860 static int __hpp__color_compare(struct perf_hpp_fmt *fmt, in __hpp__color_compare()
[all …]
/tools/testing/selftests/mount/
Dunprivileged-remount-test.c47 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/
Dtest_execve.c31 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/
Dattr.c44 #define __WRITE_ASS(str, fmt, data) \ argument
58 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field) argument
/tools/perf/ui/gtk/
Dhelpline.c27 static int gtk_helpline_show(const char *fmt, va_list ap) in gtk_helpline_show()
Dhists.c11 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf()
161 struct perf_hpp_fmt *fmt; in perf_gtk__show_hists() local
/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.h40 #define intel_pt_log(fmt, ...) \ argument
Dintel-pt-log.c146 void __intel_pt_log(const char *fmt, ...) in __intel_pt_log()
/tools/include/linux/
Dkernel.h74 vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf()
84 static inline int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf()
/tools/testing/selftests/vm/
Dthuge-gen.c45 #define Dprintf(fmt...) // printf(fmt) argument
105 unsigned long read_sysfs(int warn, char *fmt, ...) in read_sysfs()
/tools/perf/ui/stdio/
Dhist.c299 struct perf_hpp_fmt *fmt; in hist_entry__callchain_fprintf() local
317 struct perf_hpp_fmt *fmt; in hist_entry__snprintf() local
376 struct perf_hpp_fmt *fmt; in hists__fprintf() local
/tools/power/cpupower/utils/helpers/
Dhelpers.h48 #define dprint(fmt, ...) { \ argument
55 static inline void dprint(const char *fmt, ...) { } in dprint()

123