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()
440 if (stat_config.stop_read_counter) in read_counters()
465 if (counter->err == 0 && perf_stat_process_counter(&stat_config, counter)) in process_counters()
470 perf_stat_merge_counters(&stat_config, evsel_list); in process_counters()
471 perf_stat_process_percore(&stat_config, evsel_list); in process_counters()
491 init_stats(stat_config.walltime_nsecs_stats); in process_interval()
492 update_stats(stat_config.walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval()
785 int interval = stat_config.interval; in __run_perf_stat()
786 int times = stat_config.times; in __run_perf_stat()
[all …]
H A Dbuiltin-script.c2297 if (!stat_config.output) in perf_sample__fprint_metric()
2298 stat_config.output = stdout; in perf_sample__fprint_metric()
2300 if (!stat_config.aggr_map) { in perf_sample__fprint_metric()
2302 assert(stat_config.aggr_mode == AGGR_GLOBAL); in perf_sample__fprint_metric()
2303 stat_config.aggr_get_id = script_aggr_cpu_id_get; in perf_sample__fprint_metric()
2304 stat_config.aggr_map = in perf_sample__fprint_metric()
2315 if (evlist__alloc_stats(&stat_config, evsel->evlist, /*alloc_raw=*/true) < 0) in perf_sample__fprint_metric()
2319 if (evlist__alloc_aggr_stats(evsel->evlist, stat_config.aggr_map->nr) < 0) in perf_sample__fprint_metric()
2355 perf_stat_process_counter(&stat_config, evsel); in perf_sample__fprint_metric()
2359 cpu_aggr_map__for_each_idx(aggr_idx, stat_config.aggr_map) { in perf_sample__fprint_metric()
[all …]
H A Dbuiltin-top.c1318 evlist__uniquify_evsel_names(top->evlist, &stat_config); in __cmd_top()
H A Dbuiltin-inject.c2521 inject.tool.stat_config = perf_event__repipe_op2_synth; in cmd_inject()
H A Dbuiltin-record.c2558 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 Dtool.c308 tool->stat_config = process_event_stat_config_stub; in perf_tool__init()
412 CREATE_DELEGATE_OP2(stat_config);
491 tool->tool.stat_config = delegate_stat_config; in delegate_tool__init()
H A Dconfig.c42 struct perf_stat_config stat_config = { variable
478 stat_config.big_num = (set != 0); in perf_stat__set_big_num()
483 stat_config.no_csv_summary = (set != 0); in perf_stat__set_no_csv_summary()
H A Dtool_pmu.c518 stat_config.system_wide, in evsel__tool_pmu_read()
519 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.c711 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
H A Dsession.c664 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap()
666 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap()
1612 err = tool->stat_config(tool, session, event); in perf_session__process_user_event()
H A Dparse-events.c2228 evlist__uniquify_evsel_names(evlist, &stat_config); in __parse_events()
/linux/tools/lib/perf/include/perf/
H A Devent.h557 struct perf_record_stat_config stat_config; member