Home
last modified time | relevance | path

Searched refs:hpp (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/tools/perf/ui/stdio/
H A Dhist.c423 char *start = hpp->buf; in __hist_entry__snprintf()
439 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
469 char *buf = hpp->buf; in hist_entry__hierarchy_fprintf()
478 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
489 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
504 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hist_entry__hierarchy_fprintf()
506 advance_hpp(hpp, ret); in hist_entry__hierarchy_fprintf()
511 hpp->buf = buf; in hist_entry__hierarchy_fprintf()
512 hpp->size = size; in hist_entry__hierarchy_fprintf()
559 if (!hpp.skip) in hist_entry__block_fprintf()
[all …]
/linux-6.15/tools/perf/
H A Dbuiltin-c2c.c491 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header()
635 return scnprintf(hpp->buf, hpp->size, "%*u", width, \
1164 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%% ", in display_metrics()
1167 ret = scnprintf(hpp->buf, hpp->size, "%6s ", "n/a"); in display_metrics()
1191 ret = scnprintf(hpp->buf, hpp->size, "%21s", " "); in node_entry()
1198 ret = scnprintf(hpp->buf, hpp->size, " "); in node_entry()
1204 ret = scnprintf(hpp->buf, hpp->size, "%2d", node); in node_entry()
1239 ret = scnprintf(hpp->buf, hpp->size, "%5.1f%%}", in node_entry()
1242 ret = scnprintf(hpp->buf, hpp->size, "%6s}", "n/a"); in node_entry()
1249 ret = scnprintf(hpp->buf, hpp->size, "%2d{", node); in node_entry()
[all …]
H A Dbuiltin-diff.c1320 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline()
1323 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline()
1414 return percent_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
1425 return value_color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
1436 return color_snprintf(hpp->buf, hpp->size, in __hpp__color_compare()
1445 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare()
1448 return scnprintf(hpp->buf, hpp->size, "%*s", in __hpp__color_compare()
1544 ret = scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_cycles_hist()
1556 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_cycles_hist()
1665 return scnprintf(hpp->buf, hpp->size, "%s", buf); in hpp__entry_global()
[all …]
H A Dbuiltin-kvm.c114 struct perf_hpp *hpp __maybe_unused,
122 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name); in ev_name_entry()
158 struct perf_hpp *hpp, \
167 return scnprintf(hpp->buf, hpp->size, "%*lu", width, \
217 return scnprintf(hpp->buf, hpp->size, "%*lu", width, in ev_entry_mean()
257 struct perf_hpp *hpp, in EV_METRIC_PERCENT()
265 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in EV_METRIC_PERCENT()
290 struct perf_hpp *hpp, in ev_entry_count_precent() argument
298 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in ev_entry_count_precent()
350 int width = fmt_width(fmt, hpp, hists); in fmt_header()
[all …]
/linux-6.15/tools/perf/ui/
H A Dhist.c22 advance_hpp(hpp, __ret); \
64 char *buf = hpp->buf; in __hpp__fmt()
65 size_t size = hpp->size; in __hpp__fmt()
114 hpp->buf = buf; in __hpp__fmt()
115 hpp->size = size; in __hpp__fmt()
147 return snprintf(hpp->buf, hpp->size, " %*s", len - 1, "N/A"); in hpp__fmt_acc()
328 return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); in hpp__header_fn()
334 ssize_t ssize = hpp->size; in hpp_color_scnprintf()
341 ret = percent_color_len_snprintf(hpp->buf, hpp->size, fmt, len, percent); in hpp_color_scnprintf()
350 ssize_t ssize = hpp->size; in hpp_entry_scnprintf()
[all …]
/linux-6.15/tools/perf/util/
H A Dblock-info.c179 struct perf_hpp *hpp, in block_column_header() argument
186 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header()
211 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument
263 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_cycles_lbr_entry()
284 struct perf_hpp *hpp, in block_avg_cycles_entry() argument
294 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_avg_cycles_entry()
326 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, buf); in block_range_entry()
336 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_dso_entry()
340 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_dso_entry()
358 struct perf_hpp *hpp, in block_branch_counter_entry() argument
[all …]
H A Dsort.c2655 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_header()
2684 return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); in __sort__hpp_entry()
2803 hse->hpp.color = NULL; in __sort_dimension__alloc_hpp()
2815 hse->hpp.len = 0; in __sort_dimension__alloc_hpp()
2816 hse->hpp.user_len = 0; in __sort_dimension__alloc_hpp()
2919 if (!hde->hpp.len) { in hde_width()
2934 hde->hpp.len = len; in hde_width()
2936 return hde->hpp.len; in hde_width()
3060 return scnprintf(hpp->buf, hpp->size, in __sort__hde_entry()
3079 ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); in __sort__hde_entry()
[all …]
H A Dhist.h475 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
477 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
480 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
482 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
517 struct perf_hpp_list hpp; member
635 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front);
638 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
642 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
647 static inline void advance_hpp(struct perf_hpp *hpp, int inc) in advance_hpp() argument
649 hpp->buf += inc; in advance_hpp()
[all …]
H A Ds390-cpumsf-kernel.h30 unsigned long long hpp; /* Host Program Parameter */ member
H A Ds390-cpumsf.c264 local.hpp = be64toh(basicp->hpp); 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()
H A Dhist.c1436 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment() argument
1440 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment()
1442 advance_hpp(hpp, printed); in hist_entry__snprintf_alignment()
1443 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); in hist_entry__snprintf_alignment()
1637 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry()
2983 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists_evsel__exit()
/linux-6.15/tools/perf/ui/gtk/
H A Dhists.c23 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-6.15/tools/perf/ui/browsers/
H A Dhists.c1223 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
1258 int ret = scnprintf(hpp->buf, hpp->size, \
1379 width -= hpp.buf - s; in hist_browser__show_entry()
1498 width -= hpp.buf - s; in hist_browser__show_hierarchy_entry()
1646 advance_hpp(hpp, inc); in advance_hpp_check()
1647 return hpp->size <= 0; in advance_hpp_check()
2064 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
2082 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
2127 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_hierarchy_entry()
2136 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); in hist_browser__fprintf_hierarchy_entry()
[all …]
/linux-6.15/Documentation/devicetree/bindings/clock/
H A Drenesas,cpg-clocks.yaml120 - const: hpp
242 "usb24s", "i", "zg", "b", "m1", "hp", "hpp",
/linux-6.15/arch/s390/include/asm/
H A Dcpu_mf.h120 unsigned long long hpp; /* Host Program Parameter */ member
/linux-6.15/arch/arm/boot/dts/renesas/
H A Dr8a7740.dtsi555 "hpp", "usbp", "s", "zb", "m3",
/linux-6.15/arch/s390/kernel/
H A Dperf_cpum_sf.c1070 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()