hpp 116 arch/s390/include/asm/cpu_mf.h unsigned long long hpp; /* Host Program Parameter */ hpp 1127 arch/s390/kernel/perf_cpum_sf.c data.tid_entry.pid = basic->hpp & LPP_PID_MASK; hpp 350 arch/x86/platform/uv/tlb_uv.c struct hub_and_pnode *hpp; hpp 353 arch/x86/platform/uv/tlb_uv.c hpp = &smaster->thp[cpu]; hpp 354 arch/x86/platform/uv/tlb_uv.c if (pnode == hpp->pnode) hpp 1054 arch/x86/platform/uv/tlb_uv.c struct hub_and_pnode *hpp; hpp 1063 arch/x86/platform/uv/tlb_uv.c hpp = &bcp->socket_master->thp[cpu]; hpp 1064 arch/x86/platform/uv/tlb_uv.c pnode = hpp->pnode - bcp->partition_base_pnode; hpp 1067 arch/x86/platform/uv/tlb_uv.c if (hpp->uvhub == bcp->uvhub) hpp 402 tools/perf/builtin-c2c.c int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 404 tools/perf/builtin-c2c.c int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 429 tools/perf/builtin-c2c.c struct perf_hpp *hpp __maybe_unused, hpp 445 tools/perf/builtin-c2c.c static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 452 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, hists); hpp 476 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, text); hpp 492 tools/perf/builtin-c2c.c static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 496 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 502 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); hpp 506 tools/perf/builtin-c2c.c dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 510 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 516 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, c2c_he->nodestr); hpp 520 tools/perf/builtin-c2c.c dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 524 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 527 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*lu", width, c2c_he->paddr_cnt); hpp 530 tools/perf/builtin-c2c.c static int offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 534 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 540 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); hpp 558 tools/perf/builtin-c2c.c iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 562 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 568 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); hpp 579 tools/perf/builtin-c2c.c tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 583 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 589 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*u", width, tot_hitm); hpp 612 tools/perf/builtin-c2c.c __f ## _entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, \ hpp 616 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); \ hpp 619 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*u", width, \ hpp 664 tools/perf/builtin-c2c.c ld_llcmiss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 668 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 672 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*lu", width, hpp 714 tools/perf/builtin-c2c.c tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 718 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 724 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); hpp 765 tools/perf/builtin-c2c.c tot_loads_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 769 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 775 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*" PRIu64, width, tot_recs); hpp 799 tools/perf/builtin-c2c.c percent_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 803 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 811 tools/perf/builtin-c2c.c return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per); hpp 813 tools/perf/builtin-c2c.c return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per); hpp 856 tools/perf/builtin-c2c.c percent_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 860 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 866 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); hpp 870 tools/perf/builtin-c2c.c percent_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 873 tools/perf/builtin-c2c.c return percent_color(fmt, hpp, he, percent_hitm); hpp 932 tools/perf/builtin-c2c.c percent_rmt_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 935 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 939 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); hpp 943 tools/perf/builtin-c2c.c percent_rmt_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 946 tools/perf/builtin-c2c.c return percent_color(fmt, hpp, he, percent_rmt_hitm); hpp 963 tools/perf/builtin-c2c.c percent_lcl_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 966 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 970 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); hpp 974 tools/perf/builtin-c2c.c percent_lcl_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 977 tools/perf/builtin-c2c.c return percent_color(fmt, hpp, he, percent_lcl_hitm); hpp 994 tools/perf/builtin-c2c.c percent_stores_l1hit_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 997 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1001 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); hpp 1005 tools/perf/builtin-c2c.c percent_stores_l1hit_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1008 tools/perf/builtin-c2c.c return percent_color(fmt, hpp, he, percent_st_l1hit); hpp 1025 tools/perf/builtin-c2c.c percent_stores_l1miss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1028 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1032 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); hpp 1036 tools/perf/builtin-c2c.c percent_stores_l1miss_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1039 tools/perf/builtin-c2c.c return percent_color(fmt, hpp, he, percent_st_l1miss); hpp 1059 tools/perf/builtin-c2c.c pid_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1062 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1064 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*d", width, he->thread->pid_); hpp 1083 tools/perf/builtin-c2c.c node_entry(struct perf_hpp_fmt *fmt __maybe_unused, struct perf_hpp *hpp, hpp 1101 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%21s", " "); hpp 1102 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1108 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, " "); hpp 1109 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1114 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%2d", node); hpp 1115 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1122 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%2d{%2d ", node, num); hpp 1123 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1127 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%5.1f%% ", \ hpp 1130 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%6s ", "n/a"); \ hpp 1148 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1151 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%5.1f%%}", hpp 1154 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%6s}", "n/a"); hpp 1157 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1161 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "%2d{", node); hpp 1162 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1164 tools/perf/builtin-c2c.c ret = bitmap_scnprintf(set, c2c.cpus_cnt, hpp->buf, hpp->size); hpp 1165 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1167 tools/perf/builtin-c2c.c ret = scnprintf(hpp->buf, hpp->size, "}"); hpp 1168 tools/perf/builtin-c2c.c advance_hpp(hpp, ret); hpp 1181 tools/perf/builtin-c2c.c mean_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1184 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1188 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); hpp 1193 tools/perf/builtin-c2c.c __func(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) \ hpp 1197 tools/perf/builtin-c2c.c return mean_entry(fmt, hpp, he, avg_stats(&c2c_he->cstats.__val)); \ hpp 1205 tools/perf/builtin-c2c.c cpucnt_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1209 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1215 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); hpp 1219 tools/perf/builtin-c2c.c cl_idx_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1223 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1229 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); hpp 1233 tools/perf/builtin-c2c.c cl_idx_empty_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1236 tools/perf/builtin-c2c.c int width = c2c_width(fmt, hpp, he->hists); hpp 1238 tools/perf/builtin-c2c.c return scnprintf(hpp->buf, hpp->size, "%*s", width, ""); hpp 1713 tools/perf/builtin-c2c.c static int c2c_se_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1727 tools/perf/builtin-c2c.c return dim->se->se_snprintf(he, hpp->buf, hpp->size, len); hpp 2193 tools/perf/builtin-c2c.c struct perf_hpp hpp = { hpp 2207 tools/perf/builtin-c2c.c __hist_entry__snprintf(he_cl, &hpp, hpp_list); hpp 1301 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he) hpp 1310 tools/perf/builtin-diff.c return percent_color_snprintf(hpp->buf, hpp->size, hpp 1313 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", hpp 1330 tools/perf/builtin-diff.c struct perf_hpp *hpp, int width) hpp 1341 tools/perf/builtin-diff.c hpp->skip = true; hpp 1369 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); hpp 1373 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he, hpp 1389 tools/perf/builtin-diff.c hpp->skip = true; hpp 1403 tools/perf/builtin-diff.c return percent_color_snprintf(hpp->buf, hpp->size, hpp 1414 tools/perf/builtin-diff.c return value_color_snprintf(hpp->buf, hpp->size, hpp 1425 tools/perf/builtin-diff.c return color_snprintf(hpp->buf, hpp->size, hpp 1429 tools/perf/builtin-diff.c return cycles_printf(he, pair, hpp, dfmt->header_width); hpp 1434 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", hpp 1437 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", hpp 1442 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he) hpp 1444 tools/perf/builtin-diff.c return __hpp__color_compare(fmt, hpp, he, COMPUTE_DELTA); hpp 1448 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he) hpp 1450 tools/perf/builtin-diff.c return __hpp__color_compare(fmt, hpp, he, COMPUTE_RATIO); hpp 1454 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he) hpp 1456 tools/perf/builtin-diff.c return __hpp__color_compare(fmt, hpp, he, COMPUTE_WEIGHTED_DIFF); hpp 1460 tools/perf/builtin-diff.c struct perf_hpp *hpp, struct hist_entry *he) hpp 1462 tools/perf/builtin-diff.c return __hpp__color_compare(fmt, hpp, he, COMPUTE_CYCLES); hpp 1560 tools/perf/builtin-diff.c static int hpp__entry_global(struct perf_hpp_fmt *_fmt, struct perf_hpp *hpp, hpp 1570 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%s", buf); hpp 1572 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, "%*s", hpp 1576 tools/perf/builtin-diff.c static int hpp__header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1585 tools/perf/builtin-diff.c return scnprintf(hpp->buf, hpp->size, dfmt->header); hpp 1589 tools/perf/builtin-diff.c struct perf_hpp *hpp __maybe_unused, hpp 1157 tools/perf/ui/browsers/hists.c int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) hpp 1159 tools/perf/ui/browsers/hists.c struct hpp_arg *arg = hpp->ptr; hpp 1171 tools/perf/ui/browsers/hists.c ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); hpp 1172 tools/perf/ui/browsers/hists.c ui_browser__printf(arg->b, "%s", hpp->buf); hpp 1185 tools/perf/ui/browsers/hists.c struct perf_hpp *hpp, \ hpp 1188 tools/perf/ui/browsers/hists.c return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ hpp 1200 tools/perf/ui/browsers/hists.c struct perf_hpp *hpp, \ hpp 1204 tools/perf/ui/browsers/hists.c struct hpp_arg *arg = hpp->ptr; \ hpp 1206 tools/perf/ui/browsers/hists.c int ret = scnprintf(hpp->buf, hpp->size, \ hpp 1208 tools/perf/ui/browsers/hists.c ui_browser__printf(arg->b, "%s", hpp->buf); \ hpp 1212 tools/perf/ui/browsers/hists.c return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \ hpp 1279 tools/perf/ui/browsers/hists.c struct perf_hpp hpp = { hpp 1309 tools/perf/ui/browsers/hists.c int ret = fmt->color(fmt, &hpp, entry); hpp 1310 tools/perf/ui/browsers/hists.c hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); hpp 1317 tools/perf/ui/browsers/hists.c hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry)); hpp 1320 tools/perf/ui/browsers/hists.c width -= hpp.buf - s; hpp 1397 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 1399 tools/perf/ui/browsers/hists.c struct perf_hpp hpp = { hpp 1427 tools/perf/ui/browsers/hists.c int ret = fmt->color(fmt, &hpp, entry); hpp 1428 tools/perf/ui/browsers/hists.c hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); hpp 1435 tools/perf/ui/browsers/hists.c int ret = fmt->entry(fmt, &hpp, entry); hpp 1436 tools/perf/ui/browsers/hists.c hist_entry__snprintf_alignment(entry, &hpp, fmt, ret); hpp 1439 tools/perf/ui/browsers/hists.c width -= hpp.buf - s; hpp 1449 tools/perf/ui/browsers/hists.c struct perf_hpp hpp = { hpp 1479 tools/perf/ui/browsers/hists.c width -= fmt->color(fmt, &hpp, entry); hpp 1483 tools/perf/ui/browsers/hists.c width -= fmt->entry(fmt, &hpp, entry); hpp 1546 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 1585 tools/perf/ui/browsers/hists.c static int advance_hpp_check(struct perf_hpp *hpp, int inc) hpp 1587 tools/perf/ui/browsers/hists.c advance_hpp(hpp, inc); hpp 1588 tools/perf/ui/browsers/hists.c return hpp->size <= 0; hpp 1652 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 1684 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 2001 tools/perf/ui/browsers/hists.c struct perf_hpp hpp = { hpp 2019 tools/perf/ui/browsers/hists.c ret = scnprintf(hpp.buf, hpp.size, " "); hpp 2020 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2024 tools/perf/ui/browsers/hists.c ret = fmt->entry(fmt, &hpp, he); hpp 2025 tools/perf/ui/browsers/hists.c ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret); hpp 2026 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2044 tools/perf/ui/browsers/hists.c struct perf_hpp hpp = { hpp 2062 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 2064 tools/perf/ui/browsers/hists.c ret = scnprintf(hpp.buf, hpp.size, " "); hpp 2065 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2069 tools/perf/ui/browsers/hists.c ret = fmt->entry(fmt, &hpp, he); hpp 2070 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2073 tools/perf/ui/browsers/hists.c ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, ""); hpp 2074 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2077 tools/perf/ui/browsers/hists.c ret = scnprintf(hpp.buf, hpp.size, " "); hpp 2078 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2080 tools/perf/ui/browsers/hists.c ret = fmt->entry(fmt, &hpp, he); hpp 2081 tools/perf/ui/browsers/hists.c advance_hpp(&hpp, ret); hpp 2172 tools/perf/ui/browsers/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) hpp 16 tools/perf/ui/gtk/hists.c static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) hpp 23 tools/perf/ui/gtk/hists.c char *buf = hpp->buf; hpp 24 tools/perf/ui/gtk/hists.c size_t size = hpp->size; hpp 50 tools/perf/ui/gtk/hists.c struct perf_hpp *hpp, \ hpp 53 tools/perf/ui/gtk/hists.c return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ hpp 64 tools/perf/ui/gtk/hists.c struct perf_hpp *hpp, \ hpp 67 tools/perf/ui/gtk/hists.c return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ hpp 307 tools/perf/ui/gtk/hists.c struct perf_hpp hpp = { hpp 380 tools/perf/ui/gtk/hists.c fmt->color(fmt, &hpp, h); hpp 382 tools/perf/ui/gtk/hists.c fmt->entry(fmt, &hpp, h); hpp 409 tools/perf/ui/gtk/hists.c struct perf_hpp *hpp, hpp 440 tools/perf/ui/gtk/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 442 tools/perf/ui/gtk/hists.c fmt->color(fmt, hpp, he); hpp 444 tools/perf/ui/gtk/hists.c fmt->entry(fmt, hpp, he); hpp 446 tools/perf/ui/gtk/hists.c gtk_tree_store_set(store, &iter, col_idx++, hpp->buf, -1); hpp 449 tools/perf/ui/gtk/hists.c bf = hpp->buf; hpp 450 tools/perf/ui/gtk/hists.c size = hpp->size; hpp 455 tools/perf/ui/gtk/hists.c ret = fmt->color(fmt, hpp, he); hpp 457 tools/perf/ui/gtk/hists.c ret = fmt->entry(fmt, hpp, he); hpp 459 tools/perf/ui/gtk/hists.c snprintf(hpp->buf + ret, hpp->size - ret, " "); hpp 460 tools/perf/ui/gtk/hists.c advance_hpp(hpp, ret + 2); hpp 466 tools/perf/ui/gtk/hists.c hpp->buf = bf; hpp 467 tools/perf/ui/gtk/hists.c hpp->size = size; hpp 470 tools/perf/ui/gtk/hists.c store, &iter, hpp, hpp 511 tools/perf/ui/gtk/hists.c struct perf_hpp hpp = { hpp 534 tools/perf/ui/gtk/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 550 tools/perf/ui/gtk/hists.c perf_hpp_list__for_each_format(&fmt_node->hpp ,fmt) { hpp 558 tools/perf/ui/gtk/hists.c fmt->header(fmt, &hpp, hists, 0, NULL); hpp 559 tools/perf/ui/gtk/hists.c strcat(buf, strim(hpp.buf)); hpp 584 tools/perf/ui/gtk/hists.c NULL, &hpp, min_pcnt); hpp 18 tools/perf/ui/hist.c #define hpp__call_print_fn(hpp, fn, fmt, ...) \ hpp 20 tools/perf/ui/hist.c int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ hpp 21 tools/perf/ui/hist.c advance_hpp(hpp, __ret); \ hpp 25 tools/perf/ui/hist.c static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, hpp 32 tools/perf/ui/hist.c char *buf = hpp->buf; hpp 33 tools/perf/ui/hist.c size_t size = hpp->size; hpp 42 tools/perf/ui/hist.c ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); hpp 44 tools/perf/ui/hist.c ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); hpp 69 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, hpp 72 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, hpp 78 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, fmt, len, hpp 81 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, fmt, hpp 95 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, hpp 98 tools/perf/ui/hist.c ret += hpp__call_print_fn(hpp, print_fn, hpp 108 tools/perf/ui/hist.c hpp->buf = buf; hpp 109 tools/perf/ui/hist.c hpp->size = size; hpp 114 tools/perf/ui/hist.c int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 121 tools/perf/ui/hist.c return __hpp__fmt(hpp, he, get_field, fmtstr, 1, hpp 130 tools/perf/ui/hist.c return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmt_percent); hpp 133 tools/perf/ui/hist.c int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 139 tools/perf/ui/hist.c return snprintf(hpp->buf, hpp->size, " %*s", len - 1, "N/A"); hpp 142 tools/perf/ui/hist.c return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmt_percent); hpp 225 tools/perf/ui/hist.c struct perf_hpp *hpp __maybe_unused, hpp 240 tools/perf/ui/hist.c static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 244 tools/perf/ui/hist.c int len = hpp__width_fn(fmt, hpp, hists); hpp 245 tools/perf/ui/hist.c return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); hpp 248 tools/perf/ui/hist.c int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) hpp 251 tools/perf/ui/hist.c ssize_t ssize = hpp->size; hpp 258 tools/perf/ui/hist.c ret = percent_color_len_snprintf(hpp->buf, hpp->size, fmt, len, percent); hpp 264 tools/perf/ui/hist.c static int hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) hpp 267 tools/perf/ui/hist.c ssize_t ssize = hpp->size; hpp 271 tools/perf/ui/hist.c ret = vsnprintf(hpp->buf, hpp->size, fmt, args); hpp 284 tools/perf/ui/hist.c struct perf_hpp *hpp, struct hist_entry *he) \ hpp 286 tools/perf/ui/hist.c return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ hpp 292 tools/perf/ui/hist.c struct perf_hpp *hpp, struct hist_entry *he) \ hpp 294 tools/perf/ui/hist.c return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \ hpp 312 tools/perf/ui/hist.c struct perf_hpp *hpp, struct hist_entry *he) \ hpp 314 tools/perf/ui/hist.c return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ hpp 320 tools/perf/ui/hist.c struct perf_hpp *hpp, struct hist_entry *he) \ hpp 322 tools/perf/ui/hist.c return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \ hpp 340 tools/perf/ui/hist.c struct perf_hpp *hpp, struct hist_entry *he) \ hpp 342 tools/perf/ui/hist.c return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \ hpp 737 tools/perf/ui/hist.c perf_hpp_list__for_each_format(&node->hpp, fmt) hpp 781 tools/perf/ui/hist.c perf_hpp_list__init(&node->hpp); hpp 794 tools/perf/ui/hist.c list_add_tail(&fmt_copy->list, &node->hpp.fields); hpp 795 tools/perf/ui/hist.c list_add_tail(&fmt_copy->sort_list, &node->hpp.sorts); hpp 413 tools/perf/ui/stdio/hist.c int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, hpp 418 tools/perf/ui/stdio/hist.c char *start = hpp->buf; hpp 434 tools/perf/ui/stdio/hist.c ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); hpp 435 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 440 tools/perf/ui/stdio/hist.c ret = fmt->color(fmt, hpp, he); hpp 442 tools/perf/ui/stdio/hist.c ret = fmt->entry(fmt, hpp, he); hpp 444 tools/perf/ui/stdio/hist.c ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); hpp 445 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 448 tools/perf/ui/stdio/hist.c return hpp->buf - start; hpp 451 tools/perf/ui/stdio/hist.c static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) hpp 453 tools/perf/ui/stdio/hist.c return __hist_entry__snprintf(he, hpp, he->hists->hpp_list); hpp 457 tools/perf/ui/stdio/hist.c struct perf_hpp *hpp, hpp 464 tools/perf/ui/stdio/hist.c char *buf = hpp->buf; hpp 465 tools/perf/ui/stdio/hist.c size_t size = hpp->size; hpp 472 tools/perf/ui/stdio/hist.c ret = scnprintf(hpp->buf, hpp->size, "%*s", he->depth * HIERARCHY_INDENT, ""); hpp 473 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 478 tools/perf/ui/stdio/hist.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 484 tools/perf/ui/stdio/hist.c ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); hpp 485 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 490 tools/perf/ui/stdio/hist.c ret = fmt->color(fmt, hpp, he); hpp 492 tools/perf/ui/stdio/hist.c ret = fmt->entry(fmt, hpp, he); hpp 494 tools/perf/ui/stdio/hist.c ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); hpp 495 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 499 tools/perf/ui/stdio/hist.c ret = scnprintf(hpp->buf, hpp->size, "%*s", hpp 501 tools/perf/ui/stdio/hist.c advance_hpp(hpp, ret); hpp 506 tools/perf/ui/stdio/hist.c hpp->buf = buf; hpp 507 tools/perf/ui/stdio/hist.c hpp->size = size; hpp 514 tools/perf/ui/stdio/hist.c fmt->color(fmt, hpp, he); hpp 516 tools/perf/ui/stdio/hist.c fmt->entry(fmt, hpp, he); hpp 545 tools/perf/ui/stdio/hist.c struct perf_hpp hpp = { hpp 552 tools/perf/ui/stdio/hist.c hist_entry__snprintf(he, &hpp); hpp 554 tools/perf/ui/stdio/hist.c if (!hpp.skip) hpp 567 tools/perf/ui/stdio/hist.c struct perf_hpp hpp = { hpp 575 tools/perf/ui/stdio/hist.c size = hpp.size = bfsz; hpp 578 tools/perf/ui/stdio/hist.c return hist_entry__hierarchy_fprintf(he, &hpp, hists, fp); hpp 583 tools/perf/ui/stdio/hist.c hist_entry__snprintf(he, &hpp); hpp 610 tools/perf/ui/stdio/hist.c struct perf_hpp *hpp, FILE *fp) hpp 630 tools/perf/ui/stdio/hist.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 631 tools/perf/ui/stdio/hist.c fmt->header(fmt, hpp, hists, 0, NULL); hpp 632 tools/perf/ui/stdio/hist.c fprintf(fp, "%s%s", hpp->buf, sep ?: " "); hpp 643 tools/perf/ui/stdio/hist.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 651 tools/perf/ui/stdio/hist.c fmt->header(fmt, hpp, hists, 0, NULL); hpp 653 tools/perf/ui/stdio/hist.c header_width += fprintf(fp, "%s", strim(hpp->buf)); hpp 667 tools/perf/ui/stdio/hist.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 672 tools/perf/ui/stdio/hist.c width = fmt->width(fmt, hpp, hists); hpp 681 tools/perf/ui/stdio/hist.c perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) { hpp 689 tools/perf/ui/stdio/hist.c width += fmt->width(fmt, hpp, hists); hpp 705 tools/perf/ui/stdio/hist.c static void fprintf_line(struct hists *hists, struct perf_hpp *hpp, hpp 722 tools/perf/ui/stdio/hist.c fmt->header(fmt, hpp, hists, line, &span); hpp 725 tools/perf/ui/stdio/hist.c fprintf(fp, "%s", hpp->buf); hpp 731 tools/perf/ui/stdio/hist.c struct perf_hpp *hpp, hpp 745 tools/perf/ui/stdio/hist.c fprintf_line(hists, hpp, line, fp); hpp 767 tools/perf/ui/stdio/hist.c width = fmt->width(fmt, hpp, hists); hpp 1281 tools/perf/util/hist.c int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, hpp 1285 tools/perf/util/hist.c const int width = fmt->width(fmt, hpp, he->hists); hpp 1287 tools/perf/util/hist.c advance_hpp(hpp, printed); hpp 1288 tools/perf/util/hist.c printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); hpp 1482 tools/perf/util/hist.c new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); hpp 2772 tools/perf/util/hist.c perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { hpp 169 tools/perf/util/hist.h int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, hpp 258 tools/perf/util/hist.h int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 260 tools/perf/util/hist.h int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 262 tools/perf/util/hist.h int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 264 tools/perf/util/hist.h int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 302 tools/perf/util/hist.h struct perf_hpp_list hpp; hpp 407 tools/perf/util/hist.h typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); hpp 408 tools/perf/util/hist.h typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...); hpp 410 tools/perf/util/hist.h int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 413 tools/perf/util/hist.h int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 417 tools/perf/util/hist.h static inline void advance_hpp(struct perf_hpp *hpp, int inc) hpp 419 tools/perf/util/hist.h hpp->buf += inc; hpp 420 tools/perf/util/hist.h hpp->size -= inc; hpp 557 tools/perf/util/hist.h int hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...); hpp 558 tools/perf/util/hist.h int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...); hpp 559 tools/perf/util/hist.h int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, hpp 30 tools/perf/util/s390-cpumsf-kernel.h unsigned long long hpp; /* Host Program Parameter */ hpp 263 tools/perf/util/s390-cpumsf.c local.hpp = be64toh(basicp->hpp); hpp 279 tools/perf/util/s390-cpumsf.c basic->hpp, basic->gpp); hpp 508 tools/perf/util/s390-cpumsf.c .pid = basic->hpp & S390_LPP_PID_MASK, hpp 509 tools/perf/util/s390-cpumsf.c .tid = basic->hpp & S390_LPP_PID_MASK, hpp 1740 tools/perf/util/sort.c struct perf_hpp_fmt hpp; hpp 1751 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1755 tools/perf/util/sort.c static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1762 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1767 tools/perf/util/sort.c return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); hpp 1771 tools/perf/util/sort.c struct perf_hpp *hpp __maybe_unused, hpp 1777 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1785 tools/perf/util/sort.c static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 1791 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1796 tools/perf/util/sort.c return hse->se->se_snprintf(he, hpp->buf, hpp->size, len); hpp 1804 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1814 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1825 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1843 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); \ hpp 1864 tools/perf/util/sort.c hse_a = container_of(a, struct hpp_sort_entry, hpp); hpp 1865 tools/perf/util/sort.c hse_b = container_of(b, struct hpp_sort_entry, hpp); hpp 1874 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1890 tools/perf/util/sort.c hse->hpp.name = sd->entry->se_header; hpp 1891 tools/perf/util/sort.c hse->hpp.header = __sort__hpp_header; hpp 1892 tools/perf/util/sort.c hse->hpp.width = __sort__hpp_width; hpp 1893 tools/perf/util/sort.c hse->hpp.entry = __sort__hpp_entry; hpp 1894 tools/perf/util/sort.c hse->hpp.color = NULL; hpp 1896 tools/perf/util/sort.c hse->hpp.cmp = __sort__hpp_cmp; hpp 1897 tools/perf/util/sort.c hse->hpp.collapse = __sort__hpp_collapse; hpp 1898 tools/perf/util/sort.c hse->hpp.sort = __sort__hpp_sort; hpp 1899 tools/perf/util/sort.c hse->hpp.equal = __sort__hpp_equal; hpp 1900 tools/perf/util/sort.c hse->hpp.free = hse_free; hpp 1902 tools/perf/util/sort.c INIT_LIST_HEAD(&hse->hpp.list); hpp 1903 tools/perf/util/sort.c INIT_LIST_HEAD(&hse->hpp.sort_list); hpp 1904 tools/perf/util/sort.c hse->hpp.elide = false; hpp 1905 tools/perf/util/sort.c hse->hpp.len = 0; hpp 1906 tools/perf/util/sort.c hse->hpp.user_len = 0; hpp 1907 tools/perf/util/sort.c hse->hpp.level = level; hpp 1944 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 1972 tools/perf/util/sort.c perf_hpp_list__register_sort_field(list, &hse->hpp); hpp 1984 tools/perf/util/sort.c perf_hpp_list__column_register(list, &hse->hpp); hpp 1989 tools/perf/util/sort.c struct perf_hpp_fmt hpp; hpp 1998 tools/perf/util/sort.c if (!hde->hpp.len) { hpp 2013 tools/perf/util/sort.c hde->hpp.len = len; hpp 2015 tools/perf/util/sort.c return hde->hpp.len; hpp 2061 tools/perf/util/sort.c static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 2069 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2074 tools/perf/util/sort.c return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); hpp 2078 tools/perf/util/sort.c struct perf_hpp *hpp __maybe_unused, hpp 2084 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2096 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2101 tools/perf/util/sort.c static int __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, hpp 2112 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2139 tools/perf/util/sort.c return scnprintf(hpp->buf, hpp->size, hpp 2158 tools/perf/util/sort.c ret = scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, str); hpp 2170 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2209 tools/perf/util/sort.c hde_a = container_of(a, struct hpp_dynamic_entry, hpp); hpp 2210 tools/perf/util/sort.c hde_b = container_of(b, struct hpp_dynamic_entry, hpp); hpp 2219 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2239 tools/perf/util/sort.c hde->hpp.name = field->name; hpp 2240 tools/perf/util/sort.c hde->hpp.header = __sort__hde_header; hpp 2241 tools/perf/util/sort.c hde->hpp.width = __sort__hde_width; hpp 2242 tools/perf/util/sort.c hde->hpp.entry = __sort__hde_entry; hpp 2243 tools/perf/util/sort.c hde->hpp.color = NULL; hpp 2245 tools/perf/util/sort.c hde->hpp.cmp = __sort__hde_cmp; hpp 2246 tools/perf/util/sort.c hde->hpp.collapse = __sort__hde_cmp; hpp 2247 tools/perf/util/sort.c hde->hpp.sort = __sort__hde_cmp; hpp 2248 tools/perf/util/sort.c hde->hpp.equal = __sort__hde_equal; hpp 2249 tools/perf/util/sort.c hde->hpp.free = hde_free; hpp 2251 tools/perf/util/sort.c INIT_LIST_HEAD(&hde->hpp.list); hpp 2252 tools/perf/util/sort.c INIT_LIST_HEAD(&hde->hpp.sort_list); hpp 2253 tools/perf/util/sort.c hde->hpp.elide = false; hpp 2254 tools/perf/util/sort.c hde->hpp.len = 0; hpp 2255 tools/perf/util/sort.c hde->hpp.user_len = 0; hpp 2256 tools/perf/util/sort.c hde->hpp.level = level; hpp 2268 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 2271 tools/perf/util/sort.c new_fmt = &new_hse->hpp; hpp 2275 tools/perf/util/sort.c hde = container_of(fmt, struct hpp_dynamic_entry, hpp); hpp 2278 tools/perf/util/sort.c new_fmt = &new_hde->hpp; hpp 2370 tools/perf/util/sort.c perf_hpp__register_sort_field(&hde->hpp); hpp 2865 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp); hpp 2925 tools/perf/util/sort.c hse = container_of(fmt, struct hpp_sort_entry, hpp);