Lines Matching refs:config

1076 	struct perf_stat_config *config = opt->value;
1078 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close);
1439 static struct aggr_cpu_id perf_stat__get_socket(struct perf_stat_config *config __maybe_unused,
1445 static struct aggr_cpu_id perf_stat__get_die(struct perf_stat_config *config __maybe_unused,
1451 static struct aggr_cpu_id perf_stat__get_cache_id(struct perf_stat_config *config __maybe_unused,
1457 static struct aggr_cpu_id perf_stat__get_core(struct perf_stat_config *config __maybe_unused,
1463 static struct aggr_cpu_id perf_stat__get_node(struct perf_stat_config *config __maybe_unused,
1469 static struct aggr_cpu_id perf_stat__get_global(struct perf_stat_config *config __maybe_unused,
1475 static struct aggr_cpu_id perf_stat__get_cpu(struct perf_stat_config *config __maybe_unused,
1481 static struct aggr_cpu_id perf_stat__get_aggr(struct perf_stat_config *config,
1488 return get_id(config, cpu);
1490 if (aggr_cpu_id__is_empty(&config->cpus_aggr_map->map[cpu.cpu]))
1491 config->cpus_aggr_map->map[cpu.cpu] = get_id(config, cpu);
1493 id = config->cpus_aggr_map->map[cpu.cpu];
1497 static struct aggr_cpu_id perf_stat__get_socket_cached(struct perf_stat_config *config,
1500 return perf_stat__get_aggr(config, perf_stat__get_socket, cpu);
1503 static struct aggr_cpu_id perf_stat__get_die_cached(struct perf_stat_config *config,
1506 return perf_stat__get_aggr(config, perf_stat__get_die, cpu);
1509 static struct aggr_cpu_id perf_stat__get_cache_id_cached(struct perf_stat_config *config,
1512 return perf_stat__get_aggr(config, perf_stat__get_cache_id, cpu);
1515 static struct aggr_cpu_id perf_stat__get_core_cached(struct perf_stat_config *config,
1518 return perf_stat__get_aggr(config, perf_stat__get_core, cpu);
1521 static struct aggr_cpu_id perf_stat__get_node_cached(struct perf_stat_config *config,
1524 return perf_stat__get_aggr(config, perf_stat__get_node, cpu);
1527 static struct aggr_cpu_id perf_stat__get_global_cached(struct perf_stat_config *config,
1530 return perf_stat__get_aggr(config, perf_stat__get_global, cpu);
1533 static struct aggr_cpu_id perf_stat__get_cpu_cached(struct perf_stat_config *config,
1536 return perf_stat__get_aggr(config, perf_stat__get_cpu, cpu);
1796 static struct aggr_cpu_id perf_stat__get_socket_file(struct perf_stat_config *config __maybe_unused,
1801 static struct aggr_cpu_id perf_stat__get_die_file(struct perf_stat_config *config __maybe_unused,
1807 static struct aggr_cpu_id perf_stat__get_cache_file(struct perf_stat_config *config __maybe_unused,
1813 static struct aggr_cpu_id perf_stat__get_core_file(struct perf_stat_config *config __maybe_unused,
1819 static struct aggr_cpu_id perf_stat__get_cpu_file(struct perf_stat_config *config __maybe_unused,
1825 static struct aggr_cpu_id perf_stat__get_node_file(struct perf_stat_config *config __maybe_unused,
1831 static struct aggr_cpu_id perf_stat__get_global_file(struct perf_stat_config *config __maybe_unused,
1930 { .type = PERF_TYPE_SOFTWARE, .config = PERF_COUNT_SW_TASK_CLOCK },
1931 { .type = PERF_TYPE_SOFTWARE, .config = PERF_COUNT_SW_CONTEXT_SWITCHES },
1932 { .type = PERF_TYPE_SOFTWARE, .config = PERF_COUNT_SW_CPU_MIGRATIONS },
1933 { .type = PERF_TYPE_SOFTWARE, .config = PERF_COUNT_SW_PAGE_FAULTS },
1935 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CPU_CYCLES },
1938 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_STALLED_CYCLES_FRONTEND },
1941 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_STALLED_CYCLES_BACKEND },
1944 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_INSTRUCTIONS },
1945 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_BRANCH_INSTRUCTIONS },
1946 { .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_BRANCH_MISSES },
1956 .config =
1962 .config =
1968 .config =
1974 .config =
1986 .config =
1992 .config =
1998 .config =
2004 .config =
2010 .config =
2016 .config =
2029 .config =
2035 .config =
2141 default_attrs0[0].config = PERF_COUNT_SW_CPU_CLOCK;