Home
last modified time | relevance | path

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

12345678

/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_warning_once(fmt, ...) ({ \ argument
34 #define pr_info(fmt, ...) \ argument
36 #define pr_debug(fmt, ...) \ argument
38 #define pr_debugN(n, fmt, ...) \ argument
40 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) argument
41 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) argument
42 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) argument
[all …]
Dcolor.c14 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()
Dblock-info.c178 static int block_column_header(struct perf_hpp_fmt *fmt, in block_column_header()
190 static int block_column_width(struct perf_hpp_fmt *fmt, in block_column_width()
210 static int block_total_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_entry()
224 static int64_t block_total_cycles_pct_sort(struct perf_hpp_fmt *fmt, in block_total_cycles_pct_sort()
254 static int block_cycles_lbr_entry(struct perf_hpp_fmt *fmt, in block_cycles_lbr_entry()
267 static int block_cycles_pct_entry(struct perf_hpp_fmt *fmt, in block_cycles_pct_entry()
283 static int block_avg_cycles_entry(struct perf_hpp_fmt *fmt, in block_avg_cycles_entry()
298 static int block_range_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_range_entry()
329 static int block_dso_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in block_dso_entry()
346 struct perf_hpp_fmt *fmt = &block_fmt->fmt; in init_block_header() local
[all …]
Ddebug.c84 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf()
100 int eprintf(int level, int var, const char *fmt, ...) in eprintf()
112 static int veprintf_time(u64 t, const char *fmt, va_list args) in veprintf_time()
126 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time()
144 void pr_stat(const char *fmt, ...) in pr_stat()
154 int dump_printf(const char *fmt, ...) in dump_printf()
/tools/thermal/lib/
Dlog.h18 #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/
Dnx_dbg.h32 #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/
Dinternal.h11 #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/testing/selftests/timens/
Dlog.h6 #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/testing/selftests/filesystems/overlayfs/
Dlog.h6 #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/lib/api/
Ddebug-internal.h7 #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/perf/ui/
Dhist.c19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
27 int nr_samples, const char *fmt, int len, in __hpp__fmt_print()
56 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt()
119 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt()
139 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__fmt_acc()
296 static int hpp__width_fn(struct perf_hpp_fmt *fmt, in hpp__width_fn()
322 static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hpp__header_fn()
330 int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_color_scnprintf()
346 static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) in hpp_entry_scnprintf()
591 static void fmt_free(struct perf_hpp_fmt *fmt) in fmt_free()
[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()
75 void ui_helpline__printf(const char *fmt, ...) in ui_helpline__printf()
/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()
27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad()
/tools/usb/usbip/libsrc/
Dusbip_common.h62 #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/
Dnosymfollow-test.c30 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()
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/perf/
Dbuiltin-c2c.c424 struct perf_hpp_fmt fmt; member
443 static int c2c_width(struct perf_hpp_fmt *fmt, in c2c_width()
460 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header()
507 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry()
521 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry()
535 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_count()
545 static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in offset_entry()
574 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in iaddr_entry()
595 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_hitm_entry()
703 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in tot_recs_entry()
[all …]
Dbuiltin-diff.c66 struct perf_hpp_fmt fmt; member
78 struct diff_hpp_fmt fmt[PERF_HPP_DIFF__MAX_INDEX]; member
496 static struct data__file *fmt_to_data_file(struct perf_hpp_fmt *fmt) in fmt_to_data_file()
864 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta()
873 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, in hist_entry__cmp_delta_abs()
882 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, in hist_entry__cmp_ratio()
891 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, in hist_entry__cmp_wdiff()
1057 struct diff_hpp_fmt *fmt = &d->fmt[col]; in data__free() local
1309 static int hpp__color_baseline(struct perf_hpp_fmt *fmt, in hpp__color_baseline()
1329 const char *fmt = symbol_conf.field_sep ? "%.2f" : "%6.2f%%"; in hpp__entry_baseline() local
[all …]
/tools/sched_ext/include/scx/
Dcommon.bpf.h83 void ___scx_bpf_bstr_format_checker(const char *fmt, ...) {} in ___scx_bpf_bstr_format_checker()
90 #define scx_bpf_bstr_preamble(fmt, args...) \ argument
108 #define scx_bpf_exit(code, fmt, args...) \ argument
121 #define scx_bpf_error(fmt, args...) \ argument
132 #define scx_bpf_dump(fmt, args...) \ argument
/tools/verification/rv/src/
Dutils.c19 void err_msg(const char *fmt, ...) in err_msg()
34 void debug_msg(const char *fmt, ...) in debug_msg()
/tools/testing/selftests/x86/
Dsyscall_numbering.c85 #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/perf/util/bpf_skel/
Dbench_uprobe.bpf.c18 char fmt[] = "perf bench uprobe %u"; in BPF_UPROBE() local
33 char fmt[] = "perf bench uretprobe %u"; in BPF_URETPROBE() local
/tools/testing/selftests/proc/
Dproc-self-map-files-001.c26 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()
Dproc-self-map-files-002.c26 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/mm/
Duffd-common.h43 #define _err(fmt, ...) \ argument
51 #define errexit(exitcode, fmt, ...) \ argument
57 #define err(fmt, ...) errexit(1, fmt, ##__VA_ARGS__) argument

12345678