Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/
Dbuiltin-stat.c213 static struct perf_stat_config stat_config = { variable
408 fprintf(stat_config.output, in read_counter_cpu()
472 if (!stat_config.stop_read_counter) { in read_counters()
481 if (counter->err == 0 && perf_stat_process_counter(&stat_config, counter)) in read_counters()
503 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval()
531 if (stat_config.initial_delay < 0) { in enable_counters()
536 if (stat_config.initial_delay > 0) { in enable_counters()
538 usleep(stat_config.initial_delay * USEC_PER_MSEC); in enable_counters()
546 if (!target__none(&target) || stat_config.initial_delay) { in enable_counters()
549 if (stat_config.initial_delay > 0) in enable_counters()
[all …]
Dbuiltin-script.c81 static struct perf_stat_config stat_config; variable
2063 perf_stat__print_shadow_stats(&stat_config, ev2, in perf_sample__fprint_metric()
2273 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
3608 perf_stat_process_counter(&stat_config, counter); in process_stat_round_event()
3619 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event()
3796 .stat_config = process_stat_config_event, in cmd_script()
Dbuiltin-inject.c2168 .stat_config = perf_event__repipe_op2_synth, in cmd_inject()
/Linux-v6.1/tools/perf/tests/
Dstat.c29 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()
53 struct perf_stat_config stat_config = { in test__synthesize_stat_config() local
60 !perf_event__synthesize_stat_config(NULL, &stat_config, process_stat_config_event, NULL)); in test__synthesize_stat_config()
/Linux-v6.1/tools/perf/util/
Dtool.h76 stat_config, member
Dsession.c549 if (tool->stat_config == NULL) in perf_tool__fill_defaults()
550 tool->stat_config = process_event_stat_config_stub; in perf_tool__fill_defaults()
961 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap()
963 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap()
1710 return tool->stat_config(session, event); in perf_session__process_user_event()
Dstat.c528 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
/Linux-v6.1/tools/lib/perf/include/perf/
Devent.h496 struct perf_record_stat_config stat_config; member