Searched refs:stat_config (Results 1 – 7 of 7) sorted by relevance
/tools/perf/ |
D | builtin-stat.c | 181 static struct perf_stat_config stat_config = { variable 210 for (i = 0; i < stat_config.stats_num; i++) in perf_stat__reset_stats() 211 perf_stat__reset_shadow_per_stat(&stat_config.stats[i]); in perf_stat__reset_stats() 312 fprintf(stat_config.output, in read_counter() 334 if (ret == 0 && perf_stat_process_counter(&stat_config, counter)) in read_counters() 354 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval() 360 if (stat_config.initial_delay) in enable_counters() 361 usleep(stat_config.initial_delay * USEC_PER_MSEC); in enable_counters() 368 if (!target__none(&target) || stat_config.initial_delay) in enable_counters() 425 int interval = stat_config.interval; in __run_perf_stat() [all …]
|
D | builtin-script.c | 76 static struct perf_stat_config stat_config; variable 1753 perf_stat__print_shadow_stats(&stat_config, ev2, in perf_sample__fprint_metric() 1956 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat() 3267 perf_stat_process_counter(&stat_config, counter); in process_stat_round_event() 3278 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event() 3443 .stat_config = process_stat_config_event, in cmd_script()
|
/tools/perf/tests/ |
D | stat.c | 29 struct perf_record_stat_config *config = &event->stat_config; in process_stat_config_event() 30 struct perf_stat_config stat_config; in process_stat_config_event() local 42 perf_event__read_stat_config(&stat_config, config); in process_stat_config_event() 44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE); in process_stat_config_event() 45 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1); in process_stat_config_event() 46 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1); in process_stat_config_event() 52 struct perf_stat_config stat_config = { in test__synthesize_stat_config() local 59 !perf_event__synthesize_stat_config(NULL, &stat_config, process_stat_config_event, NULL)); in test__synthesize_stat_config()
|
/tools/perf/util/ |
D | tool.h | 72 stat_config, member
|
D | session.c | 520 if (tool->stat_config == NULL) in perf_tool__fill_defaults() 521 tool->stat_config = process_event_stat_config_stub; in perf_tool__fill_defaults() 887 size = event->stat_config.nr * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap() 889 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap() 1554 return tool->stat_config(session, event); in perf_session__process_user_event()
|
D | stat.c | 456 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
|
/tools/perf/lib/include/perf/ |
D | event.h | 377 struct perf_record_stat_config stat_config; member
|