Home
last modified time | relevance | path

Searched refs:hpp (Results 1 – 13 of 13) 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/ui/
H A Dhist.c21 #define hpp__call_print_fn(hpp, fn, fmt, ...) \ argument
23 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
24 advance_hpp(hpp, __ret); \
28 static int __hpp__fmt_print(struct perf_hpp *hpp, struct hists *hists, u64 val, in __hpp__fmt_print() argument
40 return hpp__call_print_fn(hpp, print_fn, fmt, len, percent); in __hpp__fmt_print()
46 return hpp__call_print_fn(hpp, print_fn, fmt, len, avg); in __hpp__fmt_print()
49 return hpp__call_print_fn(hpp, print_fn, fmt, len, val); in __hpp__fmt_print()
58 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
66 char *buf = hpp->buf; in __hpp__fmt()
67 size_t size = hpp->size; in __hpp__fmt()
[all …]
/linux/tools/perf/
H A Dbuiltin-c2c.c419 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
421 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
446 struct perf_hpp *hpp __maybe_unused, in c2c_width()
462 static int c2c_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in c2c_header() argument
469 int width = c2c_width(fmt, hpp, hists); in c2c_header()
493 return scnprintf(hpp->buf, hpp->size, "%*s", width, text); in c2c_header()
509 static int dcacheline_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_entry() argument
513 int width = c2c_width(fmt, hpp, he->hists); in dcacheline_entry()
519 return scnprintf(hpp->buf, hpp->size, "%*s", width, HEX_STR(buf, addr)); in dcacheline_entry()
523 dcacheline_node_entry(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, in dcacheline_node_entry() argument
[all …]
H A Dbuiltin-diff.c1311 struct perf_hpp *hpp, struct hist_entry *he) in hpp__color_baseline() argument
1320 return percent_color_snprintf(hpp->buf, hpp->size, in hpp__color_baseline()
1323 return scnprintf(hpp->buf, hpp->size, "%*s", in hpp__color_baseline()
1340 struct perf_hpp *hpp, int width) in cycles_printf() argument
1351 hpp->skip = true; in cycles_printf()
1380 return scnprintf(hpp->buf, hpp->size, "%*s", width, buf); in cycles_printf()
1384 struct perf_hpp *hpp, struct hist_entry *he, in __hpp__color_compare() argument
1400 hpp->skip = true; in __hpp__color_compare()
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()
[all …]
/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/util/
H A Dhist.h376 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp,
489 int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
491 int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
494 int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
496 int (*entry)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
531 struct perf_hpp_list hpp; member
656 typedef int (*hpp_callback_fn)(struct perf_hpp *hpp, bool front);
657 typedef int (*hpp_snprint_fn)(struct perf_hpp *hpp, const char *fmt, ...);
659 int hpp__fmt(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
663 int hpp__fmt_acc(struct perf_hpp_fmt *fmt, struct perf_hpp *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.c1505 int hist_entry__snprintf_alignment(struct hist_entry *he, struct perf_hpp *hpp, in hist_entry__snprintf_alignment() argument
1509 const int width = fmt->width(fmt, hpp, he->hists); in hist_entry__snprintf_alignment()
1511 advance_hpp(hpp, printed); in hist_entry__snprintf_alignment()
1512 printed = scnprintf(hpp->buf, hpp->size, "%-*s", width - printed, " "); in hist_entry__snprintf_alignment()
1712 new_he = hierarchy_insert_entry(hists, root, he, parent, &node->hpp); in hists__hierarchy_insert_entry()
3061 perf_hpp_list__for_each_format_safe(&node->hpp, fmt, pos) { in hists_evsel__exit()
/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/s390/include/asm/
H A Dcpu_mf.h120 unsigned long long hpp; /* Host Program Parameter */ member
/linux/arch/arm/boot/dts/renesas/
H A Dr8a7740.dtsi555 "hpp", "usbp", "s", "zb", "m3",
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c1069 data.tid_entry.pid = basic->hpp & LPP_PID_MASK; in perf_push_sample()