Home
last modified time | relevance | path

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

/linux/tools/perf/ui/stdio/
H A Dhist.c418 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, in __hist_entry__snprintf() argument
423 char *start = hpp->buf; in __hist_entry__snprintf()
439 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
440 advance_hpp(hpp, ret); in __hist_entry__snprintf()
445 ret = fmt->color(fmt, hpp, he); in __hist_entry__snprintf()
447 ret = fmt->entry(fmt, hpp, he); in __hist_entry__snprintf()
449 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret); in __hist_entry__snprintf()
450 advance_hpp(hpp, ret); in __hist_entry__snprintf()
453 return hpp->buf - start; in __hist_entry__snprintf()
456 static int hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) in hist_entry__snprintf() argument
[all …]
/linux/tools/perf/
H A Dbuiltin-c2c.c478 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in symbol_width()
480 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
505 struct perf_hpp *hpp __maybe_unused, in c2c_header()
521 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header()
528 int width = c2c_width(fmt, hpp, hists); in c2c_header()
552 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in dcacheline_entry()
568 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry()
572 int width = c2c_width(fmt, hpp, he->hists);
578 return scnprintf(hpp in dcacheline_node_count()
498 c2c_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line,int * span) c2c_header() argument
545 dcacheline_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_entry() argument
559 dcacheline_node_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_entry() argument
573 dcacheline_node_count(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) dcacheline_node_count() argument
583 offset_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) offset_entry() argument
612 iaddr_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) iaddr_entry() argument
633 tot_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_hitm_entry() argument
741 tot_recs_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_recs_entry() argument
779 tot_loads_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) tot_loads_entry() argument
813 percent_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,get_percent_cb get_percent) percent_color() argument
875 percent_costly_snoop_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_entry() argument
889 percent_costly_snoop_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_costly_snoop_color() argument
965 percent_rmt_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_hitm_color() argument
985 percent_lcl_hitm_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_entry() argument
996 percent_lcl_hitm_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_hitm_color() argument
1016 percent_lcl_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_entry() argument
1027 percent_lcl_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_lcl_peer_color() argument
1047 percent_rmt_peer_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_entry() argument
1058 percent_rmt_peer_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_rmt_peer_color() argument
1078 percent_stores_l1hit_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_entry() argument
1089 percent_stores_l1hit_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1hit_color() argument
1109 percent_stores_l1miss_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_entry() argument
1120 percent_stores_l1miss_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_l1miss_color() argument
1140 percent_stores_na_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_entry() argument
1151 percent_stores_na_color(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) percent_stores_na_color() argument
1197 display_metrics(struct perf_hpp * hpp,u32 val,u32 sum) display_metrics() argument
1211 node_entry(struct perf_hpp_fmt * fmt __maybe_unused,struct perf_hpp * hpp,struct hist_entry * he) node_entry() argument
1307 mean_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,double mean) mean_entry() argument
1333 cpucnt_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cpucnt_entry() argument
1347 cl_idx_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_entry() argument
1361 cl_idx_empty_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) cl_idx_empty_entry() argument
1938 c2c_se_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) c2c_se_entry() argument
2477 struct perf_hpp hpp = { print_cacheline() local
[all...]
H A Dbuiltin-diff.c1310 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline()
1319 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline()
1322 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline()
1339 struct perf_hpp *hpp, int width) in cycles_printf()
1350 hpp->skip = true; in cycles_printf()
1379 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf()
1383 struct perf_hpp *hpp, struc in __hpp__color_compare()
1309 hpp__color_baseline(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_baseline() argument
1338 cycles_printf(struct hist_entry * he,struct hist_entry * pair,struct perf_hpp * hpp,int width) cycles_printf() argument
1382 __hpp__color_compare(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he,int comparison_method) __hpp__color_compare() argument
1451 hpp__color_delta(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_delta() argument
1457 hpp__color_ratio(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_ratio() argument
1463 hpp__color_wdiff(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_wdiff() argument
1469 hpp__color_cycles(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles() argument
1502 hpp__color_cycles_hist(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__color_cycles_hist() argument
1653 hpp__entry_global(struct perf_hpp_fmt * _fmt,struct perf_hpp * hpp,struct hist_entry * he) hpp__entry_global() argument
1669 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 Dbuiltin-kvm.c96 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
116 struct perf_hpp *hpp __maybe_unused,
119 static int ev_name_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in ev_name_entry()
122 int width = fmt_width(fmt, hpp, he->hists); in ev_name_entry()
124 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name); in ev_name_entry()
160 struct perf_hpp *hpp, \
164 int width = fmt_width(fmt, hpp, he->hists); \
169 return scnprintf(hpp->buf, hpp
118 ev_name_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_name_entry() argument
209 ev_entry_mean(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_mean() argument
291 ev_entry_count_precent(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) ev_entry_count_precent() argument
345 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 Dhist.c22 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
24 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
25 advance_hpp(hpp, __ret); \
29 static int __hpp__fmt_print(struct perf_hpp *hpp, struct hists *hists, u64 val, in __hpp__fmt_print() argument
41 return hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt_print()
47 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print()
50 return hpp__call_print_fn(hpp, print_fn, fmt, len, val); in __hpp__fmt_print()
59 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
67 char *buf = hpp->buf; in __hpp__fmt()
68 size_t size = hpp->size; in __hpp__fmt()
[all …]
/linux/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()
191 struct perf_hpp *hpp __maybe_unused, in block_column_width()
199 static int color_pct(struct perf_hpp *hpp, int width, double pct) in color_pct() argument
203 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", in color_pct()
207 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct); in color_pct()
211 struct perf_hpp *hpp, in block_total_cycles_pct_entry() argument
221 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry()
255 struct perf_hpp *hpp, struc in block_cycles_lbr_entry() argument
268 block_cycles_pct_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_cycles_pct_entry() argument
284 block_avg_cycles_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_avg_cycles_entry() argument
298 block_range_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_range_entry() argument
329 block_dso_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_dso_entry() argument
358 block_branch_counter_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) block_branch_counter_entry() argument
[all...]
H A Dsort.c2852 struct perf_hpp_fmt hpp;
2863 hse = container_of(fmt, struct hpp_sort_entry, hpp); in hse_init()
2867 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in hse_init()
2878 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort_dimension__alloc_hpp()
2883 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, hdr); in __sort_dimension__alloc_hpp()
2887 struct perf_hpp *hpp __maybe_unused, in __sort_dimension__alloc_hpp()
2893 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort_dimension__alloc_hpp()
2901 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in __sort_dimension__alloc_hpp()
2907 hse = container_of(fmt, struct hpp_sort_entry, hpp); in __sort_dimension__alloc_hpp()
2711 struct perf_hpp_fmt hpp; global() member
2726 __sort__hpp_header(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hists * hists,int line,int * span __maybe_unused) __sort__hpp_header() argument
2760 __sort__hpp_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hpp_entry() argument
2998 struct perf_hpp_fmt hpp; global() member
3070 __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
3110 __sort__hde_entry(struct perf_hpp_fmt * fmt,struct perf_hpp * hpp,struct hist_entry * he) __sort__hde_entry() argument
[all...]
H A Dhist.h376 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
490 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
492 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
495 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
497 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
533 struct perf_hpp_list hpp;
658 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front);
659 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...);
661 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
665 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
531 struct perf_hpp_list hpp; global() member
671 advance_hpp(struct perf_hpp * hpp,int inc) advance_hpp() argument
[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.c1506 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment()
1510 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment()
1512 advance_hpp(hpp, printed); in hist_entry__snprintf_alignment()
1513 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); in hist_entry__snprintf_alignment()
1713 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry()
3063 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists_evsel__exit()
1503 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 Dhists.c16 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 Dhists.c1209 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
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->buf, hpp->size, \
1260 ui_browser__printf(arg->b, "%s", hpp->buf); \
[all …]
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7740.dtsi663 "hpp", "usbp", "s", "zb", "m3",
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c1068 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()