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

/linux-master/tools/perf/ui/stdio/
H A Dhist.c414 int __hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp, argument
419 char *start = hpp->buf;
435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " ");
436 advance_hpp(hpp, ret);
441 ret = fmt->color(fmt, hpp, he);
443 ret = fmt->entry(fmt, hpp, he);
445 ret = hist_entry__snprintf_alignment(he, hpp, fmt, ret);
446 advance_hpp(hpp, ret);
449 return hpp
452 hist_entry__snprintf(struct hist_entry *he, struct perf_hpp *hpp) argument
457 hist_entry__hierarchy_fprintf(struct hist_entry *he, struct perf_hpp *hpp, struct hists *hists, FILE *fp) argument
546 struct perf_hpp hpp = { local
568 struct perf_hpp hpp = { local
587 struct perf_hpp hpp = { local
632 hists__fprintf_hierarchy_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) argument
728 fprintf_line(struct hists *hists, struct perf_hpp *hpp, int line, FILE *fp) argument
753 hists__fprintf_standard_headers(struct hists *hists, struct perf_hpp *hpp, FILE *fp) argument
[all...]
/linux-master/tools/perf/ui/
H A Dhist.c17 /* hist period print (hpp) functions */
19 #define hpp__call_print_fn(hpp, fn, fmt, ...) \
21 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
22 advance_hpp(hpp, __ret); \
26 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, argument
33 char *buf = hpp->buf;
34 size_t size = hpp->size;
43 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent);
45 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he));
70 ret += hpp__call_print_fn(hpp, print_f
115 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, bool fmt_percent) argument
134 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, bool fmt_percent) argument
306 hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line __maybe_unused, int *span __maybe_unused) argument
314 hpp_color_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) argument
330 hpp_entry_scnprintf(struct perf_hpp *hpp, const char *fmt, ...) argument
[all...]
/linux-master/tools/perf/ui/gtk/
H A Dhists.c16 static int __percent_color_snprintf(struct perf_hpp *hpp, const char *fmt, ...) argument
23 char *buf = hpp->buf;
24 size_t size = hpp->size;
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 = { local
380 fmt->color(fmt, &hpp, h);
382 fmt->entry(fmt, &hpp,
405 perf_gtk__add_hierarchy_entries(struct hists *hists, struct rb_root_cached *root, GtkTreeStore *store, GtkTreeIter *parent, struct perf_hpp *hpp, float min_pcnt) argument
511 struct perf_hpp hpp = { local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-c2c.c434 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
436 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
461 struct perf_hpp *hpp __maybe_unused,
477 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, argument
484 int width = c2c_width(fmt, hpp, hists);
508 return scnprintf(hpp->buf, hpp->size, "%*s", width, text);
524 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, argument
528 int width = c2c_width(fmt, hpp, he->hists);
534 return scnprintf(hpp
538 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
552 dcacheline_node_count(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
562 offset_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
591 iaddr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
612 tot_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
720 tot_recs_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
758 tot_loads_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
792 percent_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, get_percent_cb get_percent) argument
854 percent_costly_snoop_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
868 percent_costly_snoop_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
933 percent_rmt_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
944 percent_rmt_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
964 percent_lcl_hitm_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
975 percent_lcl_hitm_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
995 percent_lcl_peer_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1006 percent_lcl_peer_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1026 percent_rmt_peer_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1037 percent_rmt_peer_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1057 percent_stores_l1hit_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1068 percent_stores_l1hit_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1088 percent_stores_l1miss_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1099 percent_stores_l1miss_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1119 percent_stores_na_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1130 percent_stores_na_color(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1153 pid_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1176 display_metrics(struct perf_hpp *hpp, u32 val, u32 sum) argument
1190 node_entry(struct perf_hpp_fmt *fmt __maybe_unused, struct perf_hpp *hpp, struct hist_entry *he) argument
1286 mean_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, double mean) argument
1312 cpucnt_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1326 cl_idx_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1340 cl_idx_empty_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1917 c2c_se_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
2450 struct perf_hpp hpp = { local
[all...]
H A Dbuiltin-diff.c1324 struct perf_hpp *hpp, struct hist_entry *he)
1333 return percent_color_snprintf(hpp->buf, hpp->size,
1336 return scnprintf(hpp->buf, hpp->size, "%*s",
1353 struct perf_hpp *hpp, int width)
1364 hpp->skip = true;
1393 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf);
1397 struct perf_hpp *hpp, struc
1323 hpp__color_baseline(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1352 cycles_printf(struct hist_entry *he, struct hist_entry *pair, struct perf_hpp *hpp, int width) argument
1396 __hpp__color_compare(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he, int comparison_method) argument
1465 hpp__color_delta(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1471 hpp__color_ratio(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1477 hpp__color_wdiff(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1483 hpp__color_cycles(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1516 hpp__color_cycles_hist(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
1668 hpp__entry_global(struct perf_hpp_fmt *_fmt, struct perf_hpp *hpp, struct hist_entry *he) 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) argument
[all...]
H A Dbuiltin-kvm.c94 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, argument
120 int width = fmt_width(fmt, hpp, he->hists);
122 return scnprintf(hpp->buf, hpp->size, "%*s", width, he->kvm_info->name);
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) argument
256 ev_entry_time_precent(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
289 ev_entry_count_precent(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
344 fmt_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hists *hists, int line __maybe_unused, int *span __maybe_unused) argument
[all...]
/linux-master/tools/perf/util/
H A Dblock-info.c164 struct perf_hpp *hpp,
171 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width,
176 struct perf_hpp *hpp __maybe_unused,
184 static int color_pct(struct perf_hpp *hpp, int width, double pct) argument
188 return __hpp__slsmg_color_printf(hpp, "%*.2f%%",
192 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, pct);
196 struct perf_hpp *hpp,
206 return color_pct(hpp, block_fmt->width, 100.0 * ratio);
240 struct perf_hpp *hpp, struc
163 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) argument
195 block_total_cycles_pct_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
239 block_cycles_lbr_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
252 block_cycles_pct_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
268 block_avg_cycles_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
283 block_range_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
314 block_dso_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
[all...]
H A Ds390-cpumsf-kernel.h30 unsigned long long hpp; /* Host Program Parameter */ member in struct:hws_basic_entry
H A Dhist.h187 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
278 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
280 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
283 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
285 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
323 struct perf_hpp_list hpp; member in struct:perf_hpp_list_node
427 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front);
428 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...);
430 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
433 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
437 advance_hpp(struct perf_hpp *hpp, int inc) argument
[all...]
H A Dsort.c2449 struct perf_hpp_fmt hpp; member in struct:hpp_sort_entry
2460 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2464 static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, argument
2471 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2476 return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name);
2480 struct perf_hpp *hpp __maybe_unused,
2486 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2494 static int __sort__hpp_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, argument
2500 hse = container_of(fmt, struct hpp_sort_entry, hpp);
2730 struct perf_hpp_fmt hpp; member in struct:hpp_dynamic_entry
2802 __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) argument
2842 __sort__hde_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument
[all...]
H A Ds390-cpumsf.c264 local.hpp = be64toh(basicp->hpp);
280 basic->hpp, basic->gpp);
509 .pid = basic->hpp & S390_LPP_PID_MASK,
510 .tid = basic->hpp & S390_LPP_PID_MASK,
H A Dhist.c1359 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, argument
1363 const int width = fmt->width(fmt, hpp, he->hists);
1365 advance_hpp(hpp, printed);
1366 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " ");
1560 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp);
2887 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) {
/linux-master/tools/perf/ui/browsers/
H A Dhists.c1208 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) argument
1210 struct hpp_arg *arg = hpp->ptr;
1222 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent);
1223 ui_browser__printf(arg->b, "%s", hpp->buf);
1236 struct perf_hpp *hpp, \
1239 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1251 struct perf_hpp *hpp, \
1255 struct hpp_arg *arg = hpp->ptr; \
1257 int ret = scnprintf(hpp
1330 struct perf_hpp hpp = { local
1450 struct perf_hpp hpp = { local
1500 struct perf_hpp hpp = { local
1636 advance_hpp_check(struct perf_hpp *hpp, int inc) argument
2056 struct perf_hpp hpp = { local
2099 struct perf_hpp hpp = { local
[all...]
/linux-master/arch/s390/include/asm/
H A Dcpu_mf.h118 unsigned long long hpp; /* Host Program Parameter */ member in struct:hws_basic_entry
/linux-master/arch/s390/kernel/
H A Dperf_cpum_sf.c1166 data.tid_entry.pid = basic->hpp & LPP_PID_MASK;

Completed in 261 milliseconds