| /kernel/linux/linux-5.10/tools/perf/ui/stdio/ |
| D | hist.c | 414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 419 char *start = hpp->buf; in __hist_entry__snprintf() 435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 436 advance_hpp(hpp, ret); in __hist_entry__snprintf() 441 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 443 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 445 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf() 446 advance_hpp(hpp, ret); in __hist_entry__snprintf() 449 return hpp->buf - start; in __hist_entry__snprintf() 452 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ui/stdio/ |
| D | hist.c | 414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 419 char *start = hpp->buf; in __hist_entry__snprintf() 435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 436 advance_hpp(hpp, ret); in __hist_entry__snprintf() 441 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 443 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 445 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf() 446 advance_hpp(hpp, ret); in __hist_entry__snprintf() 449 return hpp->buf - start; in __hist_entry__snprintf() 452 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ui/ |
| D | hist.c | 16 /* hist period print (hpp) functions */ 18 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 20 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ 21 advance_hpp(hpp, __ret); \ 25 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument 32 char *buf = hpp->buf; in __hpp__fmt() 33 size_t size = hpp->size; in __hpp__fmt() 42 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt() 44 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt() 69 ret += hpp__call_print_fn(hpp, print_fn, in __hpp__fmt() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ui/ |
| D | hist.c | 17 /* hist period print (hpp) functions */ 19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument 21 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ 22 advance_hpp(hpp, __ret); \ 26 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument 33 char *buf = hpp->buf; in __hpp__fmt() 34 size_t size = hpp->size; in __hpp__fmt() 43 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt() 45 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt() 70 ret += hpp__call_print_fn(hpp, print_fn, in __hpp__fmt() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ |
| D | builtin-c2c.c | 434 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 436 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 461 struct perf_hpp *hpp __maybe_unused, in c2c_width() 477 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument 484 int width = c2c_width(fmt, hpp, hists); in c2c_header() 508 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 524 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument 528 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry() 534 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry() 538 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument [all …]
|
| D | builtin-diff.c | 49 /* Diff command specific HPP columns. */ 1324 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument 1333 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline() 1336 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline() 1353 struct perf_hpp *hpp, int width) in cycles_printf() argument 1364 hpp->skip = true; in cycles_printf() 1393 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf() 1397 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument 1413 hpp->skip = true; in __hpp__color_compare() 1427 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() [all …]
|
| D | builtin-kvm.c | 94 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 114 struct perf_hpp *hpp __maybe_unused, 117 static int ev_name_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ev_name_entry() argument 120 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry() 122 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name); in ev_name_entry() 158 struct perf_hpp *hpp, \ 162 int width = fmt_width(fmt, hpp, he->hists); \ 167 return scnprintf(hpp->buf, hpp->size, "%*lu", width, \ 208 static int ev_entry_mean(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ev_entry_mean() argument 212 int width = fmt_width(fmt, hpp, he->hists); in ev_entry_mean() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ |
| D | builtin-c2c.c | 406 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 408 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 433 struct perf_hpp *hpp __maybe_unused, in c2c_width() 449 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument 456 int width = c2c_width(fmt, hpp, hists); in c2c_header() 480 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 496 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument 500 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry() 506 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry() 510 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument [all …]
|
| D | builtin-diff.c | 49 /* Diff command specific HPP columns. */ 1321 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument 1330 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline() 1333 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline() 1350 struct perf_hpp *hpp, int width) in cycles_printf() argument 1361 hpp->skip = true; in cycles_printf() 1390 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf() 1394 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument 1410 hpp->skip = true; in __hpp__color_compare() 1424 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ui/gtk/ |
| D | hists.c | 16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument 23 char *buf = hpp->buf; in __percent_color_snprintf() 24 size_t size = hpp->size; in __percent_color_snprintf() 50 struct perf_hpp *hpp, \ 53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ 64 struct perf_hpp *hpp, \ 67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ 307 struct perf_hpp hpp = { in perf_gtk__show_hists() local 380 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists() 382 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/ui/gtk/ |
| D | hists.c | 16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) in __percent_color_snprintf() argument 23 char *buf = hpp->buf; in __percent_color_snprintf() 24 size_t size = hpp->size; in __percent_color_snprintf() 50 struct perf_hpp *hpp, \ 53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ 64 struct perf_hpp *hpp, \ 67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ 307 struct perf_hpp hpp = { in perf_gtk__show_hists() local 380 fmt->color(fmt, &hpp, h); in perf_gtk__show_hists() 382 fmt->entry(fmt, &hpp, h); in perf_gtk__show_hists() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | block-info.c | 164 struct perf_hpp *hpp, in block_column_header() argument 171 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header() 176 struct perf_hpp *hpp __maybe_unused, in block_column_width() 184 static int color_pct(struct perf_hpp *hpp, int width, double pct) in color_pct() argument 188 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in color_pct() 192 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in color_pct() 196 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument 206 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry() 240 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry() argument 248 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_cycles_lbr_entry() [all …]
|
| D | sort.c | 1768 struct perf_hpp_fmt hpp; member 1779 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width() 1783 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument 1790 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header() 1795 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header() 1799 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width() 1805 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width() 1813 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument 1819 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry() 1824 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry() [all …]
|
| D | hist.h | 170 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 259 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 261 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 263 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 265 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 303 struct perf_hpp_list hpp; member 407 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); 408 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...); 410 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 413 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, [all …]
|
| D | s390-cpumsf.c | 263 local.hpp = be64toh(basicp->hpp); in s390_cpumsf_basic_show() 272 "\t\tCL:%d HPP:%#018llx GPP:%#018llx\n", in s390_cpumsf_basic_show() 279 basic->hpp, basic->gpp); in s390_cpumsf_basic_show() 508 .pid = basic->hpp & S390_LPP_PID_MASK, in s390_cpumsf_make_event() 509 .tid = basic->hpp & S390_LPP_PID_MASK, in s390_cpumsf_make_event()
|
| D | s390-cpumsf-kernel.h | 30 unsigned long long hpp; /* Host Program Parameter */ member
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | block-info.c | 164 struct perf_hpp *hpp, in block_column_header() argument 171 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header() 176 struct perf_hpp *hpp __maybe_unused, in block_column_width() 184 static int color_pct(struct perf_hpp *hpp, int width, double pct) in color_pct() argument 188 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in color_pct() 192 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in color_pct() 196 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument 206 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry() 240 struct perf_hpp *hpp, struct hist_entry *he) in block_cycles_lbr_entry() argument 248 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_cycles_lbr_entry() [all …]
|
| D | sort.c | 2253 struct perf_hpp_fmt hpp; member 2264 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width() 2268 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument 2275 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header() 2280 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header() 2284 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width() 2290 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width() 2298 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument 2304 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry() 2309 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry() [all …]
|
| D | hist.h | 184 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 275 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 277 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 280 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 282 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 320 struct perf_hpp_list hpp; member 424 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); 425 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...); 427 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 430 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, [all …]
|
| D | s390-cpumsf.c | 264 local.hpp = be64toh(basicp->hpp); in s390_cpumsf_basic_show() 273 "\t\tCL:%d HPP:%#018llx GPP:%#018llx\n", in s390_cpumsf_basic_show() 280 basic->hpp, basic->gpp); in s390_cpumsf_basic_show() 509 .pid = basic->hpp & S390_LPP_PID_MASK, in s390_cpumsf_make_event() 510 .tid = basic->hpp & S390_LPP_PID_MASK, in s390_cpumsf_make_event()
|
| D | s390-cpumsf-kernel.h | 30 unsigned long long hpp; /* Host Program Parameter */ member
|
| /kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
| D | hists.c | 1208 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument 1210 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf() 1222 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 1223 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf() 1236 struct perf_hpp *hpp, \ 1239 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ 1251 struct perf_hpp *hpp, \ 1255 struct hpp_arg *arg = hpp->ptr; \ 1257 int ret = scnprintf(hpp->buf, hpp->size, \ 1259 ui_browser__printf(arg->b, "%s", hpp->buf); \ [all …]
|
| /kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
| D | hists.c | 1207 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument 1209 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf() 1221 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 1222 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf() 1235 struct perf_hpp *hpp, \ 1238 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ 1250 struct perf_hpp *hpp, \ 1254 struct hpp_arg *arg = hpp->ptr; \ 1256 int ret = scnprintf(hpp->buf, hpp->size, \ 1258 ui_browser__printf(arg->b, "%s", hpp->buf); \ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | renesas,cpg-clocks.yaml | 116 - const: hpp 238 "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | renesas,cpg-clocks.yaml | 116 - const: hpp 238 "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
|