Searched refs:stat_config (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/perf/
H A Dbuiltin-stat.c152 static struct perf_stat_config stat_config = { variable in typeref:struct:perf_stat_config
351 fprintf(stat_config.output,
413 if (!stat_config.stop_read_counter) {
428 if (counter->err == 0 && perf_stat_process_counter(&stat_config, counter))
433 perf_stat_merge_counters(&stat_config, evsel_list);
434 perf_stat_process_percore(&stat_config, evsel_list);
455 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL);
691 int interval = stat_config.interval;
692 int times = stat_config.times;
693 int timeout = stat_config
[all...]
H A Dbuiltin-script.c86 static struct perf_stat_config stat_config; variable in typeref:struct:perf_stat_config
2094 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false);
2101 perf_stat__print_shadow_stats(&stat_config, ev2,
2326 scripting_ops->process_stat(&stat_config, counter, tstamp);
3677 perf_stat_process_counter(&stat_config, counter);
3688 perf_event__read_stat_config(&stat_config, &event->stat_config);
3694 stat_config.aggr_mode = AGGR_NONE;
3711 if (evlist__alloc_stats(&stat_config, evlist, /*alloc_raw=*/true))
3888 .stat_config
[all...]
H A Dbuiltin-inject.c2196 .stat_config = perf_event__repipe_op2_synth,
/linux-master/tools/perf/tests/
H A Dstat.c29 struct perf_record_stat_config *config = &event->stat_config;
30 struct perf_stat_config stat_config = {}; local
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 = { local
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",
[all...]
/linux-master/tools/perf/util/
H A Dtool.h76 stat_config, member in struct:perf_tool
H A Dstat.c735 perf_event__read_stat_config(&sc, &event->stat_config);
H A Dsession.c551 if (tool->stat_config == NULL)
552 tool->stat_config = process_event_stat_config_stub;
963 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]);
965 mem_bswap_64(&event->stat_config.nr, size);
1730 return tool->stat_config(session, event);
/linux-master/tools/lib/perf/include/perf/
H A Devent.h509 struct perf_record_stat_config stat_config; member in union:perf_event

Completed in 321 milliseconds