/linux/tools/perf/ui/stdio/ |
A D | hist.c | 419 char *start = hpp->buf; in __hist_entry__snprintf() 435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 465 char *buf = hpp->buf; in hist_entry__hierarchy_fprintf() 474 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf() 485 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf() 500 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hist_entry__hierarchy_fprintf() 502 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf() 507 hpp->buf = buf; in hist_entry__hierarchy_fprintf() 508 hpp->size = size; in hist_entry__hierarchy_fprintf() 555 if (!hpp.skip) in hist_entry__block_fprintf() [all …]
|
/linux/tools/perf/ui/ |
A D | hist.c | 21 advance_hpp(hpp, __ret); \ 32 char *buf = hpp->buf; in __hpp__fmt() 33 size_t size = hpp->size; in __hpp__fmt() 108 hpp->buf = buf; in __hpp__fmt() 109 hpp->size = size; in __hpp__fmt() 139 return snprintf(hpp->buf, hpp->size, " %*s", len - 1, "N/A"); in hpp__fmt_acc() 308 return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); in hpp__header_fn() 314 ssize_t ssize = hpp->size; in hpp_color_scnprintf() 321 ret = percent_color_len_snprintf(hpp->buf, hpp->size, fmt, len, percent); in hpp_color_scnprintf() 330 ssize_t ssize = hpp->size; in hpp_entry_scnprintf() [all …]
|
/linux/tools/perf/ |
A D | builtin-c2c.c | 486 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 629 return scnprintf(hpp->buf, hpp->size, "%*u", width, \ 1058 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%% ", in display_metrics() 1061 ret = scnprintf(hpp->buf, hpp->size, "%6s ", "n/a"); in display_metrics() 1085 ret = scnprintf(hpp->buf, hpp->size, "%21s", " "); in node_entry() 1092 ret = scnprintf(hpp->buf, hpp->size, " "); in node_entry() 1098 ret = scnprintf(hpp->buf, hpp->size, "%2d", node); in node_entry() 1129 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%%}", in node_entry() 1132 ret = scnprintf(hpp->buf, hpp->size, "%6s}", "n/a"); in node_entry() 1139 ret = scnprintf(hpp->buf, hpp->size, "%2d{", node); in node_entry() [all …]
|
A D | builtin-diff.c | 1331 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline() 1334 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline() 1425 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 1436 return value_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 1447 return color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare() 1456 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare() 1459 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare() 1555 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_cycles_hist() 1567 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_cycles_hist() 1676 return scnprintf(hpp->buf, hpp->size, "%s", buf); in hpp__entry_global() [all …]
|
/linux/tools/perf/util/ |
A 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() 188 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in color_pct() 196 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument 248 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_cycles_lbr_entry() 269 struct perf_hpp *hpp, in block_avg_cycles_entry() argument 279 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_avg_cycles_entry() 311 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, buf); in block_range_entry() 321 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_dso_entry() [all …]
|
A D | sort.c | 1951 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header() 1980 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry() 2078 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp() 2089 hse->hpp.len = 0; in __sort_dimension__alloc_hpp() 2090 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp() 2182 if (!hde->hpp.len) { in hde_width() 2197 hde->hpp.len = len; in hde_width() 2199 return hde->hpp.len; in hde_width() 2323 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry() 2342 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry() [all …]
|
A D | hist.h | 266 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 268 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 270 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 272 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 310 struct perf_hpp_list hpp; member 414 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); 417 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 420 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 424 static inline void advance_hpp(struct perf_hpp *hpp, int inc) in advance_hpp() argument 426 hpp->buf += inc; in advance_hpp() [all …]
|
A D | s390-cpumsf-kernel.h | 30 unsigned long long hpp; /* Host Program Parameter */ member
|
A 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()
|
A D | hist.c | 1334 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment() argument 1338 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment() 1340 advance_hpp(hpp, printed); in hist_entry__snprintf_alignment() 1341 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); in hist_entry__snprintf_alignment() 1535 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry() 2842 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists_evsel__exit()
|
/linux/tools/perf/ui/gtk/ |
A D | hists.c | 23 char *buf = hpp->buf; in __percent_color_snprintf() 24 size_t size = hpp->size; in __percent_color_snprintf() 307 struct perf_hpp hpp = { in perf_gtk__show_hists() local 449 bf = hpp->buf; in perf_gtk__add_hierarchy_entries() 450 size = hpp->size; in perf_gtk__add_hierarchy_entries() 459 snprintf(hpp->buf + ret, hpp->size - ret, " "); in perf_gtk__add_hierarchy_entries() 466 hpp->buf = bf; in perf_gtk__add_hierarchy_entries() 467 hpp->size = size; in perf_gtk__add_hierarchy_entries() 470 store, &iter, hpp, in perf_gtk__add_hierarchy_entries() 511 struct perf_hpp hpp = { in perf_gtk__show_hierarchy() local [all …]
|
/linux/tools/perf/ui/browsers/ |
A D | hists.c | 1232 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 1267 int ret = scnprintf(hpp->buf, hpp->size, \ 1381 width -= hpp.buf - s; in hist_browser__show_entry() 1500 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry() 1648 advance_hpp(hpp, inc); in advance_hpp_check() 1649 return hpp->size <= 0; in advance_hpp_check() 2066 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local 2084 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry() 2129 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry() 2138 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
A D | renesas,cpg-clocks.yaml | 116 - const: hpp 238 "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
|
/linux/arch/s390/include/asm/ |
A D | cpu_mf.h | 116 unsigned long long hpp; /* Host Program Parameter */ member
|
/linux/arch/arm/boot/dts/ |
A D | r8a7740.dtsi | 488 "hpp", "usbp", "s", "zb", "m3",
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_sf.c | 1133 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()
|