/linux/tools/perf/ui/stdio/ |
H A 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 in __hist_entry__snprintf() 452 hist_entry__snprintf(struct hist_entry * he,struct perf_hpp * hpp) hist_entry__snprintf() argument 458 hist_entry__hierarchy_fprintf(struct hist_entry * he,struct perf_hpp * hpp,struct hists * hists,FILE * fp) hist_entry__hierarchy_fprintf() argument 546 struct perf_hpp hpp = { hist_entry__block_fprintf() local 568 struct perf_hpp hpp = { hist_entry__individual_block_fprintf() local 587 struct perf_hpp hpp = { hist_entry__fprintf() local 633 hists__fprintf_hierarchy_headers(struct hists * hists,struct perf_hpp * hpp,FILE * fp) hists__fprintf_hierarchy_headers() argument 728 fprintf_line(struct hists * hists,struct perf_hpp * hpp,int line,FILE * fp) fprintf_line() argument 754 hists__fprintf_standard_headers(struct hists * hists,struct perf_hpp * hpp,FILE * fp) hists__fprintf_standard_headers() argument [all...] |
/linux/tools/perf/ |
H A D | builtin-c2c.c | 417 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 419 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 444 struct perf_hpp *hpp __maybe_unused, 460 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_width() 467 int width = c2c_width(fmt, hpp, hists); in c2c_width() 491 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header() 507 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() 511 int width = c2c_width(fmt, hpp, he->hists); 517 return scnprintf(hpp 477 c2c_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line,int * span) c2c_header() argument 524 dcacheline_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_entry() argument 538 dcacheline_node_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_entry() argument 552 dcacheline_node_count(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_count() argument 562 offset_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) offset_entry() argument 591 iaddr_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) iaddr_entry() argument 612 tot_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_hitm_entry() argument 720 tot_recs_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_recs_entry() argument 758 tot_loads_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_loads_entry() argument 792 percent_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,get_percent_cb get_percent) percent_color() argument 854 percent_costly_snoop_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_entry() argument 868 percent_costly_snoop_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_color() argument 944 percent_rmt_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_hitm_color() argument 964 percent_lcl_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_entry() argument 975 percent_lcl_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_color() argument 995 percent_lcl_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_entry() argument 1006 percent_lcl_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_color() argument 1026 percent_rmt_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_entry() argument 1037 percent_rmt_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_color() argument 1057 percent_stores_l1hit_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_entry() argument 1068 percent_stores_l1hit_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_color() argument 1088 percent_stores_l1miss_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_entry() argument 1099 percent_stores_l1miss_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_color() argument 1119 percent_stores_na_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_entry() argument 1130 percent_stores_na_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_color() argument 1176 display_metrics(struct perf_hpp * hpp,u32 val,u32 sum) display_metrics() argument 1190 node_entry(struct perf_hpp_fmt * fmt __maybe_unused,struct perf_hpp * hpp,struct hist_entry * he) node_entry() argument 1286 mean_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,double mean) mean_entry() argument 1312 cpucnt_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cpucnt_entry() argument 1326 cl_idx_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_entry() argument 1340 cl_idx_empty_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_empty_entry() argument 1917 c2c_se_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) c2c_se_entry() argument 2450 struct perf_hpp hpp = { print_cacheline() local [all...] |
H A D | builtin-diff.c | 1310 struct perf_hpp *hpp, struct hist_entry *he) 1319 return percent_color_snprintf(hpp->buf, hpp->size, in baseline_percent() 1322 return scnprintf(hpp->buf, hpp->size, "%*s", 1339 struct perf_hpp *hpp, int width) 1350 hpp->skip = true; in hpp__entry_baseline() 1379 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf() 1383 struct perf_hpp *hpp, struc in cycles_printf() 1324 hpp__color_baseline(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_baseline() argument 1353 cycles_printf(struct hist_entry * he,struct hist_entry * pair,struct perf_hpp * hpp,int width) cycles_printf() argument 1397 __hpp__color_compare(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,int comparison_method) __hpp__color_compare() argument 1466 hpp__color_delta(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_delta() argument 1472 hpp__color_ratio(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_ratio() argument 1478 hpp__color_wdiff(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_wdiff() argument 1484 hpp__color_cycles(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles() argument 1517 hpp__color_cycles_hist(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles_hist() argument 1668 hpp__entry_global(struct perf_hpp_fmt * _fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__entry_global() argument 1684 hpp__header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists __maybe_unused,int line __maybe_unused,int * span __maybe_unused) hpp__header() argument [all...] |
H A 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 208 ev_entry_mean(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_mean() argument 290 ev_entry_count_precent(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_count_precent() argument 344 fmt_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line __maybe_unused,int * span __maybe_unused) fmt_header() argument [all...] |
/linux/tools/perf/ui/ |
H A 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_print(struct perf_hpp *hpp, struct hists *hists, u64 val, in __hpp__fmt_print() argument 37 return hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt_print() 43 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print() 46 return hpp__call_print_fn(hpp, print_fn, fmt, len, val); in __hpp__fmt_print() 55 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument 63 char *buf = hpp in __hpp__fmt() 119 hpp__fmt(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,hpp_field_fn get_field,const char * fmtstr,hpp_snprint_fn print_fn,enum perf_hpp_fmt_type fmtype) hpp__fmt() argument 139 hpp__fmt_acc(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,hpp_field_fn get_field,const char * fmtstr,hpp_snprint_fn print_fn,enum perf_hpp_fmt_type fmtype) hpp__fmt_acc() argument 322 hpp__header_fn(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line __maybe_unused,int * span __maybe_unused) hpp__header_fn() argument 330 hpp_color_scnprintf(struct perf_hpp * hpp,const char * fmt,...) hpp_color_scnprintf() argument 346 hpp_entry_scnprintf(struct perf_hpp * hpp,const char * fmt,...) hpp_entry_scnprintf() argument [all...] |
/linux/tools/perf/util/ |
H A D | block-info.c | 179 struct perf_hpp *hpp, in block_column_width() 186 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in color_pct() 191 struct perf_hpp *hpp __maybe_unused, in color_pct() 199 static int color_pct(struct perf_hpp *hpp, int width, double pct) in block_total_cycles_pct_entry() 203 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in block_total_cycles_pct_entry() 207 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in block_total_cycles_pct_entry() 211 struct perf_hpp *hpp, in block_total_cycles_pct_sort() 221 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_sort() 255 struct perf_hpp *hpp, struc in block_cycles_pct_entry() 164 block_column_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists __maybe_unused,int line __maybe_unused,int * span __maybe_unused) block_column_header() argument 184 color_pct(struct perf_hpp * hpp,int width,double pct) color_pct() argument 196 block_total_cycles_pct_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_total_cycles_pct_entry() argument 240 block_cycles_lbr_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_cycles_lbr_entry() argument 253 block_cycles_pct_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_cycles_pct_entry() argument 269 block_avg_cycles_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_avg_cycles_entry() argument 283 block_range_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_range_entry() argument 314 block_dso_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_dso_entry() argument [all...] |
H A D | sort.c | 2510 struct perf_hpp_fmt hpp; in __sort__hpp_entry() 2521 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_cmp() 2525 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 2532 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort__hpp_collapse() 2537 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name); in __sort__hpp_sort() 2541 struct perf_hpp *hpp __maybe_unused, in __sort__hpp_sort() 2547 hse = container_of(fmt, struct hpp_sort_entry, hpp); 2555 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 2561 hse = container_of(fmt, struct hpp_sort_entry, hpp); 2458 struct perf_hpp_fmt hpp; global() member 2473 __sort__hpp_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line __maybe_unused,int * span __maybe_unused) __sort__hpp_header() argument 2503 __sort__hpp_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hpp_entry() argument 2739 struct perf_hpp_fmt hpp; global() member 2811 __sort__hde_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists __maybe_unused,int line __maybe_unused,int * span __maybe_unused) __sort__hde_header() argument 2851 __sort__hde_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hde_entry() argument [all...] |
H A D | hist.h | 347 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 454 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 456 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 459 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 461 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 499 struct perf_hpp_list hpp; 612 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front); 613 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...); 615 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 619 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 497 struct perf_hpp_list hpp; global() member 622 advance_hpp(struct perf_hpp * hpp,int inc) advance_hpp() argument [all...] |
H A D | s390-cpumsf-kernel.h | 30 unsigned long long hpp; /* Host Program Parameter */ member
|
H A D | s390-cpumsf.c | 264 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 D | hist.c | 1374 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, 1378 const int width = fmt->width(fmt, hpp, he->hists); 1380 advance_hpp(hpp, printed); 1381 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); 1575 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry() 2914 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists__init() 1359 hist_entry__snprintf_alignment(struct hist_entry * he,struct perf_hpp * hpp,struct perf_hpp_fmt * fmt,int printed) hist_entry__snprintf_alignment() argument
|
/linux/tools/perf/ui/gtk/ |
H A 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/tools/perf/ui/browsers/ |
H A D | hists.c | 1209 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() 1211 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf() 1223 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf() 1224 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf() 1237 struct perf_hpp *hpp, \ 1240 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \ 1252 struct perf_hpp *hpp, \ 1256 struct hpp_arg *arg = hpp->ptr; \ 1258 int ret = scnprintf(hpp 1208 __hpp__slsmg_color_printf(struct perf_hpp * hpp,const char * fmt,...) __hpp__slsmg_color_printf() argument 1330 struct perf_hpp hpp = { hist_browser__show_entry() local 1450 struct perf_hpp hpp = { hist_browser__show_hierarchy_entry() local 1500 struct perf_hpp hpp = { hist_browser__show_hierarchy_entry() local 1636 advance_hpp_check(struct perf_hpp * hpp,int inc) advance_hpp_check() argument 2056 struct perf_hpp hpp = { hist_browser__fprintf_entry() local 2099 struct perf_hpp hpp = { hist_browser__fprintf_hierarchy_entry() local [all...] |
/linux/arch/s390/include/asm/ |
H A D | cpu_mf.h | 119 unsigned long long hpp; /* Host Program Parameter */ member
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7740.dtsi | 555 "hpp", "usbp", "s", "zb", "m3",
|