Searched refs:stat_config (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/tools/perf/ |
A D | builtin-stat.c | 965 stat_config.interval = 0; in __run_perf_stat() 1457 stat_config.aggr_get_id = aggr_mode__get_id(stat_config.aggr_mode); in perf_stat_init_aggr_mode() 1709 stat_config.aggr_get_id = aggr_mode__get_id_file(stat_config.aggr_mode); in perf_stat_init_aggr_mode_file() 1836 if (stat_config.null_run) in add_default_attributes() 1935 if (!stat_config.interval && !stat_config.metric_only) { in add_default_attributes() 2113 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event() 2354 if (stat_config.metric_only && stat_config.aggr_mode == AGGR_THREAD) { in cmd_stat() 2359 if (stat_config.metric_only && stat_config.run_count > 1) { in cmd_stat() 2364 if (stat_config.walltime_run_table && stat_config.run_count <= 1) { in cmd_stat() 2447 stat_config.walltime_run = zalloc(stat_config.run_count * sizeof(stat_config.walltime_run[0])); in cmd_stat() [all …]
|
A D | builtin-script.c | 85 static struct perf_stat_config stat_config; variable 2071 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); in perf_sample__fprint_metric() 2082 perf_stat__print_shadow_stats(&stat_config, ev2, in perf_sample__fprint_metric() 2306 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat() 3643 perf_stat_process_counter(&stat_config, counter); in process_stat_round_event() 3654 perf_event__read_stat_config(&stat_config, &event->stat_config); in process_stat_config_event() 3670 if (evlist__alloc_stats(&stat_config, evlist, /*alloc_raw=*/true)) in set_maps() 3833 .stat_config = process_stat_config_event, in cmd_script()
|
A D | builtin-inject.c | 2177 .stat_config = perf_event__repipe_op2_synth, in cmd_inject()
|
/linux-6.3-rc2/tools/perf/tests/ |
A 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-6.3-rc2/tools/perf/util/ |
A D | tool.h | 76 stat_config, member
|
A D | session.c | 552 if (tool->stat_config == NULL) in perf_tool__fill_defaults() 553 tool->stat_config = process_event_stat_config_stub; in perf_tool__fill_defaults() 964 size = bswap_64(event->stat_config.nr) * sizeof(event->stat_config.data[0]); in perf_event__stat_config_swap() 966 mem_bswap_64(&event->stat_config.nr, size); in perf_event__stat_config_swap() 1719 return tool->stat_config(session, event); in perf_session__process_user_event()
|
A D | stat.c | 787 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
|
/linux-6.3-rc2/tools/lib/perf/include/perf/ |
A D | event.h | 496 struct perf_record_stat_config stat_config; member
|
Completed in 38 milliseconds