Searched refs:stat_config (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/perf/ |
D | builtin-stat.c | 152 static struct perf_stat_config stat_config = { variable 351 fprintf(stat_config.output, in read_counter_cpu() 413 if (!stat_config.stop_read_counter) { in read_counters() 428 if (counter->err == 0 && perf_stat_process_counter(&stat_config, counter)) in process_counters() 433 perf_stat_merge_counters(&stat_config, evsel_list); in process_counters() 434 perf_stat_process_percore(&stat_config, evsel_list); in process_counters() 455 update_stats(&walltime_nsecs_stats, stat_config.interval * 1000000ULL); in process_interval() 691 int interval = stat_config.interval; in __run_perf_stat() 692 int times = stat_config.times; in __run_perf_stat() 693 int timeout = stat_config.timeout; in __run_perf_stat() [all …]
|
D | builtin-script.c | 85 static struct perf_stat_config stat_config; variable 2078 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); in perf_sample__fprint_metric() 2085 perf_stat__print_shadow_stats(&stat_config, ev2, in perf_sample__fprint_metric() 2310 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat() 3654 perf_stat_process_counter(&stat_config, counter); in process_stat_round_event() 3665 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event() 3671 stat_config.aggr_mode = AGGR_NONE; in process_stat_config_event() 3688 if (evlist__alloc_stats(&stat_config, evlist, /*alloc_raw=*/true)) in set_maps() 3851 .stat_config = process_stat_config_event, in cmd_script()
|
D | builtin-inject.c | 2196 .stat_config = perf_event__repipe_op2_synth, in cmd_inject()
|
/Linux-v6.6/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() 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.6/tools/perf/util/ |
D | tool.h | 76 stat_config, member
|
D | session.c | 546 if (tool->stat_config == NULL) in perf_tool__fill_defaults() 547 tool->stat_config = process_event_stat_config_stub; in perf_tool__fill_defaults() 958 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap() 960 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap() 1714 return tool->stat_config(session, event); in perf_session__process_user_event()
|
D | stat.c | 735 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
|
/Linux-v6.6/tools/lib/perf/include/perf/ |
D | event.h | 509 struct perf_record_stat_config stat_config; member
|