Lines Matching refs:stat_config
29 struct perf_record_stat_config *config = &event->stat_config;
30 struct perf_stat_config stat_config = {};
42 perf_event__read_stat_config(&stat_config, config);
44 TEST_ASSERT_VAL("wrong aggr_mode", stat_config.aggr_mode == AGGR_CORE);
45 TEST_ASSERT_VAL("wrong scale", stat_config.scale == 1);
46 TEST_ASSERT_VAL("wrong interval", stat_config.interval == 1);
53 struct perf_stat_config stat_config = {
59 TEST_ASSERT_VAL("failed to synthesize stat_config",
60 !perf_event__synthesize_stat_config(NULL, &stat_config, process_stat_config_event, NULL));
89 TEST_ASSERT_VAL("failed to synthesize stat_config",
110 TEST_ASSERT_VAL("failed to synthesize stat_config",