/Linux-v5.4/tools/perf/ui/stdio/ |
D | hist.c | 413 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument 418 char *start = hpp->buf; in __hist_entry__snprintf() 434 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 435 advance_hpp(hpp, ret); in __hist_entry__snprintf() 440 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf() 442 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf() 444 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf() 445 advance_hpp(hpp, ret); in __hist_entry__snprintf() 448 return hpp->buf - start; in __hist_entry__snprintf() 451 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument [all …]
|
/Linux-v5.4/tools/perf/ui/ |
D | hist.c | 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() 72 ret += hpp__call_print_fn(hpp, print_fn, in __hpp__fmt() [all …]
|
/Linux-v5.4/tools/perf/ |
D | builtin-c2c.c | 402 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 404 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 429 struct perf_hpp *hpp __maybe_unused, in c2c_width() 445 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument 452 int width = c2c_width(fmt, hpp, hists); in c2c_header() 476 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 492 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument 496 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry() 502 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry() 506 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument [all …]
|
D | builtin-diff.c | 1301 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument 1310 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline() 1313 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline() 1330 struct perf_hpp *hpp, int width) in cycles_printf() argument 1341 hpp->skip = true; in cycles_printf() 1369 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf() 1373 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument 1389 hpp->skip = true; in __hpp__color_compare() 1403 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 1414 return value_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/tools/perf/util/ |
D | sort.c | 1740 struct perf_hpp_fmt hpp; member 1751 hse = container_of(fmt, struct hpp_sort_entry, hpp); in perf_hpp__reset_sort_width() 1755 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_header() argument 1762 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_header() 1767 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header() 1771 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_width() 1777 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_width() 1785 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort__hpp_entry() argument 1791 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_entry() 1796 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry() [all …]
|
D | hist.h | 169 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 258 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 260 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 262 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 264 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 302 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-kernel.h | 30 unsigned long long hpp; /* Host Program Parameter */ member
|
D | s390-cpumsf.c | 263 local.hpp = be64toh(basicp->hpp); 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 | hist.c | 1281 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment() argument 1285 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment() 1287 advance_hpp(hpp, printed); in hist_entry__snprintf_alignment() 1288 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); in hist_entry__snprintf_alignment() 1482 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry() 2772 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists_evsel__exit()
|
/Linux-v5.4/tools/perf/ui/browsers/ |
D | hists.c | 1157 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument 1159 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf() 1171 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 1172 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf() 1185 struct perf_hpp *hpp, \ 1188 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ 1200 struct perf_hpp *hpp, \ 1204 struct hpp_arg *arg = hpp->ptr; \ 1206 int ret = scnprintf(hpp->buf, hpp->size, \ 1208 ui_browser__printf(arg->b, "%s", hpp->buf); \ [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/clock/ |
D | renesas,r8a7740-cpg-clocks.txt | 18 "m1", "hp", "hpp", "usbp", "s", "zb", "m3", and "cp". 35 "hpp", "usbp", "s", "zb", "m3",
|
/Linux-v5.4/arch/x86/platform/uv/ |
D | tlb_uv.c | 350 struct hub_and_pnode *hpp; in pnode_to_first_cpu() local 353 hpp = &smaster->thp[cpu]; in pnode_to_first_cpu() 354 if (pnode == hpp->pnode) in pnode_to_first_cpu() 1054 struct hub_and_pnode *hpp; in set_distrib_bits() local 1063 hpp = &bcp->socket_master->thp[cpu]; in set_distrib_bits() 1064 pnode = hpp->pnode - bcp->partition_base_pnode; in set_distrib_bits() 1067 if (hpp->uvhub == bcp->uvhub) in set_distrib_bits()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | cpu_mf.h | 116 unsigned long long hpp; /* Host Program Parameter */ member
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | r8a7740.dtsi | 488 "hpp", "usbp", "s", "zb", "m3",
|
/Linux-v5.4/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1114 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()
|