Home
last modified time | relevance | path

Searched refs:perf_stat_config (Results 1 – 17 of 17) sorted by relevance

/tools/perf/util/
Diostat.h19 struct perf_stat_config;
31 typedef void (*iostat_print_counter_t)(struct perf_stat_config *, struct evsel *, char *);
33 int iostat_prepare(struct evlist *evlist, struct perf_stat_config *config);
36 void iostat_list(struct evlist *evlist, struct perf_stat_config *config);
38 void iostat_prefix(struct evlist *evlist, struct perf_stat_config *config,
40 void iostat_print_header_prefix(struct perf_stat_config *config);
41 void iostat_print_metric(struct perf_stat_config *config, struct evsel *evsel,
44 struct perf_stat_config *config, struct timespec *ts,
Diostat.c8 struct perf_stat_config *config __maybe_unused) in iostat_prepare()
22 struct perf_stat_config *config __maybe_unused) in iostat_list()
30 __weak void iostat_print_header_prefix(struct perf_stat_config *config __maybe_unused) in iostat_print_header_prefix()
34 __weak void iostat_print_metric(struct perf_stat_config *config __maybe_unused, in iostat_print_metric()
41 struct perf_stat_config *config __maybe_unused, in iostat_prefix()
48 struct perf_stat_config *config __maybe_unused, in iostat_print_counters()
Dstat.h13 struct perf_stat_config;
111 typedef struct aggr_cpu_id (*aggr_get_id_t)(struct perf_stat_config *config,
114 struct perf_stat_config { struct
200 typedef void (*print_metric_t)(struct perf_stat_config *config,
203 typedef void (*new_line_t)(struct perf_stat_config *config, void *ctx);
219 void perf_stat__print_shadow_stats(struct perf_stat_config *config,
234 int perf_stat_process_counter(struct perf_stat_config *config,
249 struct perf_stat_config *config,
252 void evlist__print_counters(struct evlist *evlist, struct perf_stat_config *config,
Dstat-display.c27 static void print_running(struct perf_stat_config *config, in print_running()
41 static void print_noise_pct(struct perf_stat_config *config, in print_noise_pct()
52 static void print_noise(struct perf_stat_config *config, in print_noise()
64 static void print_cgroup(struct perf_stat_config *config, struct evsel *evsel) in print_cgroup()
73 static void aggr_printout(struct perf_stat_config *config, in aggr_printout()
157 static void new_line_std(struct perf_stat_config *config __maybe_unused, in new_line_std()
165 static void do_new_line_std(struct perf_stat_config *config, in do_new_line_std()
176 static void print_metric_std(struct perf_stat_config *config, in print_metric_std()
203 static void new_line_csv(struct perf_stat_config *config, void *ctx) in new_line_csv()
216 static void print_metric_csv(struct perf_stat_config *config __maybe_unused, in print_metric_csv()
[all …]
Dsynthetic-events.h22 struct perf_stat_config;
51 int perf_event__synthesize_stat_config(struct perf_tool *tool, struct perf_stat_config *config, per…
52 int perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, str…
Dtrace-event.h71 struct perf_stat_config;
90 void (*process_stat)(struct perf_stat_config *config,
Dstat.c357 process_counter_values(struct perf_stat_config *config, struct evsel *evsel, in process_counter_values()
409 static int process_counter_maps(struct perf_stat_config *config, in process_counter_maps()
430 int perf_stat_process_counter(struct perf_stat_config *config, in perf_stat_process_counter()
518 struct perf_stat_config sc; in perf_event__fprintf_stat_config()
532 struct perf_stat_config *config, in create_perf_stat_counter()
Dstat-shadow.c485 static void print_stalled_cycles_frontend(struct perf_stat_config *config, in print_stalled_cycles_frontend()
508 static void print_stalled_cycles_backend(struct perf_stat_config *config, in print_stalled_cycles_backend()
527 static void print_branch_misses(struct perf_stat_config *config, in print_branch_misses()
546 static void print_l1_dcache_misses(struct perf_stat_config *config, in print_l1_dcache_misses()
565 static void print_l1_icache_misses(struct perf_stat_config *config, in print_l1_icache_misses()
583 static void print_dtlb_cache_misses(struct perf_stat_config *config, in print_dtlb_cache_misses()
601 static void print_itlb_cache_misses(struct perf_stat_config *config, in print_itlb_cache_misses()
619 static void print_ll_cache_misses(struct perf_stat_config *config, in print_ll_cache_misses()
787 static void print_smi_cost(struct perf_stat_config *config, int cpu, in print_smi_cost()
870 static void generic_metric(struct perf_stat_config *config, in generic_metric()
[all …]
Devent.h307 struct perf_stat_config;
310 void perf_event__read_stat_config(struct perf_stat_config *config,
Dconfig.c456 static int perf_stat_config(const char *var, const char *value) in perf_stat_config() function
493 return perf_stat_config(var, value); in perf_default_config()
Devent.c123 void perf_event__read_stat_config(struct perf_stat_config *config, in perf_event__read_stat_config()
Dsynthetic-events.c1324 struct perf_stat_config *config, in perf_event__synthesize_stat_config()
2095 int perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, in perf_event__synthesize_stat_events()
/tools/perf/arch/x86/util/
Diostat.c334 int iostat_prepare(struct evlist *evlist, struct perf_stat_config *config) in iostat_prepare()
355 struct perf_stat_config *config = (struct perf_stat_config *)opt->data; in iostat_parse()
372 void iostat_list(struct evlist *evlist, struct perf_stat_config *config) in iostat_list()
399 struct perf_stat_config *config, in iostat_prefix()
416 void iostat_print_header_prefix(struct perf_stat_config *config) in iostat_print_header_prefix()
426 void iostat_print_metric(struct perf_stat_config *config, struct evsel *evsel, in iostat_print_metric()
451 struct perf_stat_config *config, struct timespec *ts, in iostat_print_counters()
/tools/perf/tests/
Dstat.c30 struct perf_stat_config stat_config; in process_stat_config_event()
52 struct perf_stat_config stat_config = { in test__synthesize_stat_config()
/tools/perf/
Dbuiltin-stat.c212 static struct perf_stat_config stat_config = {
473 static int runtime_stat_new(struct perf_stat_config *config, int nthreads) in runtime_stat_new()
489 static void runtime_stat_delete(struct perf_stat_config *config) in runtime_stat_delete()
502 static void runtime_stat_reset(struct perf_stat_config *config) in runtime_stat_reset()
1138 struct perf_stat_config *config = opt->value; in parse_control_option()
1284 static struct aggr_cpu_id perf_stat__get_socket(struct perf_stat_config *config __maybe_unused, in perf_stat__get_socket()
1290 static struct aggr_cpu_id perf_stat__get_die(struct perf_stat_config *config __maybe_unused, in perf_stat__get_die()
1296 static struct aggr_cpu_id perf_stat__get_core(struct perf_stat_config *config __maybe_unused, in perf_stat__get_core()
1302 static struct aggr_cpu_id perf_stat__get_node(struct perf_stat_config *config __maybe_unused, in perf_stat__get_node()
1308 static struct aggr_cpu_id perf_stat__get_aggr(struct perf_stat_config *config, in perf_stat__get_aggr()
[all …]
Dbuiltin-script.c80 static struct perf_stat_config stat_config;
1872 static void script_print_metric(struct perf_stat_config *config __maybe_unused, in script_print_metric()
1891 static void script_new_line(struct perf_stat_config *config __maybe_unused, in script_new_line()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1592 static void python_process_stat(struct perf_stat_config *config, in python_process_stat()