Home
last modified time | relevance | path

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

/linux/tools/perf/
H A Dbuiltin-stat.c242 memset(stat_config.walltime_nsecs_stats, 0, sizeof(*stat_config.walltime_nsecs_stats)); in perf_stat__reset_stats()
357 fprintf(stat_config.output, in read_counter_cpu()
430 if (stat_config.stop_read_counter) in read_counters()
455 if (counter->err == 0 && perf_stat_process_counter(&stat_config, counter)) in process_counters()
460 perf_stat_merge_counters(&stat_config, evsel_list); in process_counters()
461 perf_stat_process_percore(&stat_config, evsel_list); in process_counters()
481 init_stats(stat_config.walltime_nsecs_stats); in process_interval()
482 update_stats(stat_config.walltime_nsecs_stats, stat_config in process_interval()
[all...]
H A Dbuiltin-script.c2302 /* One time initialization of stat_config and metric data. */ in perf_sample__fprint_metric()
2308 if (!stat_config.output) in perf_sample__fprint_metric()
2309 stat_config.output = stdout; in perf_sample__fprint_metric()
2311 if (!stat_config.aggr_map) { in perf_sample__fprint_metric()
2313 assert(stat_config.aggr_mode == AGGR_GLOBAL); in perf_sample__fprint_metric()
2314 stat_config.aggr_get_id = script_aggr_cpu_id_get; in perf_sample__fprint_metric()
2315 stat_config.aggr_map = in perf_sample__fprint_metric()
2326 if (evlist__alloc_stats(&stat_config, evsel->evlist, /*alloc_raw=*/true) < 0) in perf_sample__fprint_metric()
2330 if (evlist__alloc_aggr_stats(evsel->evlist, stat_config.aggr_map->nr) < 0) in perf_sample__fprint_metric()
2366 perf_stat_process_counter(&stat_config, evse in perf_sample__fprint_metric()
[all...]
H A Dbuiltin-top.c1316 * Use global stat_config that is zero meaning aggr_mode is AGGR_NONE in __cmd_top()
1319 evlist__uniquify_evsel_names(top->evlist, &stat_config); in __cmd_top()
H A Dbuiltin-inject.c2675 inject.tool.stat_config = perf_event__repipe_op2_synth; in cmd_inject()
H A Dbuiltin-record.c2555 * Use global stat_config that is zero meaning aggr_mode is AGGR_NONE in __cmd_record()
2558 evlist__uniquify_evsel_names(rec->evlist, &stat_config); in __cmd_record()
/linux/tools/perf/arch/x86/util/
H A Devsel.c195 evlist__uniquify_evsel_names(evsel->evlist, &stat_config); in intel_evsel__open_strerror()
212 evlist__uniquify_evsel_names(evsel->evlist, &stat_config); in intel_evsel__open_strerror()
/linux/tools/perf/util/
H A Dtool.h79 stat_config, member
H A Dconfig.c42 struct perf_stat_config stat_config = {
481 stat_config.big_num = (set != 0);
486 stat_config.no_csv_summary = (set != 0);
43 struct perf_stat_config stat_config = { global() variable
H A Dtool.c326 tool->stat_config = process_event_stat_config_stub; in perf_tool__init()
432 CREATE_DELEGATE_OP2(stat_config);
511 tool->tool.stat_config = delegate_stat_config; in delegate_tool__init()
H A Dtool_pmu.c499 stat_config.system_wide, in evsel__tool_pmu_read()
500 stat_config.user_requested_cpu_list, in evsel__tool_pmu_read()
H A Dstat.h111 extern struct perf_stat_config stat_config;
H A Dstat.c713 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
H A Dsession.c672 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]); in perf_event__stat_swap()
674 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_swap()
1682 err = tool->stat_config(tool, session, event); in perf_session__process_user_event()
H A Dparse-events.c2297 evlist__uniquify_evsel_names(evlist, &stat_config); in __parse_events()
/linux/tools/lib/perf/include/perf/
H A Devent.h624 struct perf_record_stat_config stat_config; member