Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/
Dbuiltin-stat.c206 static struct perf_stat_config stat_config = { variable
235 for (i = 0; i < stat_config.stats_num; i++) in perf_stat__reset_stats()
236 perf_stat__reset_shadow_per_stat(&stat_config.stats[i]); in perf_stat__reset_stats()
244 if (stat_config.scale) { in create_perf_stat_counter()
383 fprintf(stat_config.output, in read_counter()
405 if (ret == 0 && perf_stat_process_counter(&stat_config, counter)) in read_counters()
425 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000); in process_interval()
500 err = perf_event__synthesize_stat_config(NULL, &stat_config, in perf_stat_synthesize_config()
574 int interval = stat_config.interval; in __run_perf_stat()
575 int times = stat_config.times; in __run_perf_stat()
[all …]
Dbuiltin-script.c62 static struct perf_stat_config stat_config; variable
1754 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2974 perf_stat_process_counter(&stat_config, counter); in process_stat_round_event()
2986 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event()
3108 .stat_config = process_stat_config_event, in cmd_script()
/Linux-v4.19/tools/perf/tests/
Dstat.c28 struct stat_config_event *config = &event->stat_config; in process_stat_config_event()
29 struct perf_stat_config stat_config; in process_stat_config_event() local
41 perf_event__read_stat_config(&stat_config, config); in process_stat_config_event()
43 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event()
44 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); in process_stat_config_event()
45 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); in process_stat_config_event()
51 struct perf_stat_config stat_config = { in test__synthesize_stat_config() local
58 !perf_event__synthesize_stat_config(NULL, &stat_config, process_stat_config_event, NULL)); in test__synthesize_stat_config()
/Linux-v4.19/tools/perf/util/
Dtool.h71 stat_config, member
Dsession.c418 if (tool->stat_config == NULL) in perf_tool__fill_defaults()
419 tool->stat_config = process_event_stat_config_stub; in perf_tool__fill_defaults()
759 size = event->stat_config.nr * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap()
761 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap()
1398 return tool->stat_config(tool, event, session); in perf_session__process_user_event()
Dstat.c429 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
Devent.h649 struct stat_config_event stat_config; member