Home
last modified time | relevance | path

Searched defs:config (Results 1 – 25 of 42) sorted by relevance

12

/tools/power/cpupower/bench/
Dparse.h8 struct config struct
10 long sleep; /* sleep time in µs */
11 long load; /* load time in µs */
12 long sleep_step; /* time value which changes the
14 long load_step; /* time value which changes the
38 int prepare_config(const char *path, struct config *config); argument
Dsystem.c126 void prepare_user(const struct config *config) in prepare_user()
152 void prepare_system(const struct config *config) in prepare_system()
Dparse.c122 struct config *config = malloc(sizeof(struct config)); in prepare_default_config() local
155 int prepare_config(const char *path, struct config *config) in prepare_config()
Dbenchmark.c32 unsigned int calculate_timespace(long load, struct config *config) in calculate_timespace()
78 void start_benchmark(struct config *config) in start_benchmark()
Dmain.c67 struct config *config = NULL; in main() local
/tools/perf/util/
Dstat-display.c24 static void print_running(struct perf_stat_config *config, in print_running()
38 static void print_noise_pct(struct perf_stat_config *config, in print_noise_pct()
49 static void print_noise(struct perf_stat_config *config, in print_noise()
61 static void print_cgroup(struct perf_stat_config *config, struct evsel *evsel) in print_cgroup()
70 static void aggr_printout(struct perf_stat_config *config, in aggr_printout()
161 static void do_new_line_std(struct perf_stat_config *config, in do_new_line_std()
172 static void print_metric_std(struct perf_stat_config *config, in print_metric_std()
199 static void new_line_csv(struct perf_stat_config *config, void *ctx) in new_line_csv()
256 static void print_metric_only(struct perf_stat_config *config, in print_metric_only()
304 static void print_metric_header(struct perf_stat_config *config, in print_metric_header()
[all …]
Dparse-events.y407 int config = $1 & 255; variable
425 int config = $1 & 255; variable
784 int config = $3 & 255; variable
808 int config = $1 & 255; variable
873 char *config = strdup($1); variable
Dstat-shadow.c448 static void print_stalled_cycles_frontend(struct perf_stat_config *config, in print_stalled_cycles_frontend()
472 static void print_stalled_cycles_backend(struct perf_stat_config *config, in print_stalled_cycles_backend()
492 static void print_branch_misses(struct perf_stat_config *config, in print_branch_misses()
513 static void print_l1_dcache_misses(struct perf_stat_config *config, in print_l1_dcache_misses()
535 static void print_l1_icache_misses(struct perf_stat_config *config, in print_l1_icache_misses()
556 static void print_dtlb_cache_misses(struct perf_stat_config *config, in print_dtlb_cache_misses()
576 static void print_itlb_cache_misses(struct perf_stat_config *config, in print_itlb_cache_misses()
596 static void print_ll_cache_misses(struct perf_stat_config *config, in print_ll_cache_misses()
761 static void print_smi_cost(struct perf_stat_config *config, in print_smi_cost()
844 static void generic_metric(struct perf_stat_config *config, in generic_metric()
[all …]
Dstat.c325 process_counter_values(struct perf_stat_config *config, struct evsel *evsel, in process_counter_values()
377 static int process_counter_maps(struct perf_stat_config *config, in process_counter_maps()
398 int perf_stat_process_counter(struct perf_stat_config *config, in perf_stat_process_counter()
512 struct perf_stat_config *config, in create_perf_stat_counter()
Dparse-events.c150 #define __PERF_EVENT_FIELD(config, name) \ argument
153 #define PERF_EVENT_RAW(config) __PERF_EVENT_FIELD(config, RAW) argument
154 #define PERF_EVENT_CONFIG(config) __PERF_EVENT_FIELD(config, CONFIG) argument
155 #define PERF_EVENT_TYPE(config) __PERF_EVENT_FIELD(config, TYPE) argument
156 #define PERF_EVENT_ID(config) __PERF_EVENT_FIELD(config, EVENT) argument
220 struct tracepoint_path *tracepoint_id_to_path(u64 config) in tracepoint_id_to_path()
1395 u32 type, u64 config, in parse_events_add_numeric()
1585 char *config; in parse_events_multi_pmu_add() local
2592 static bool is_event_supported(u8 type, unsigned config) in is_event_supported()
2957 int type_term, char *config, u64 num, in parse_events_term__num()
[all …]
Dparse-events.l157 static int sym(yyscan_t scanner, int type, int config) in sym()
/tools/testing/selftests/powerpc/pmu/
Devent.c23 void event_init_opts(struct event *e, u64 config, int type, char *name) in event_init_opts()
37 void event_init_named(struct event *e, u64 config, char *name) in event_init_named()
42 void event_init(struct event *e, u64 config) in event_init()
Dcount_instructions.c19 static void setup_event(struct event *e, u64 config, char *name) in setup_event()
Dcount_stcx_fail.c19 static void setup_event(struct event *e, u64 config, int type, char *name) in setup_event()
/tools/gpio/
Dgpio-event-mon.c31 struct gpio_v2_line_config *config, in monitor_device()
171 struct gpio_v2_line_config config; in main() local
Dgpio-utils.c127 struct gpio_v2_line_config *config, in gpiotools_request_line()
300 struct gpio_v2_line_config config; in gpiotools_gets() local
356 struct gpio_v2_line_config config; in gpiotools_sets() local
Dgpio-hammer.c29 struct gpio_v2_line_config config; in hammer_device() local
/tools/perf/tests/
Dstat.c10 static bool has_term(struct perf_record_stat_config *config, in has_term()
29 struct perf_record_stat_config *config = &event->stat_config; in process_stat_config_event() local
/tools/perf/
Dbuiltin-stat.c428 static int runtime_stat_new(struct perf_stat_config *config, int nthreads) in runtime_stat_new()
444 static void runtime_stat_delete(struct perf_stat_config *config) in runtime_stat_delete()
457 static void runtime_stat_reset(struct perf_stat_config *config) in runtime_stat_reset()
1058 struct perf_stat_config *config = opt->value; in parse_control_option() local
1211 static int perf_stat__get_aggr(struct perf_stat_config *config, in perf_stat__get_aggr()
1227 static int perf_stat__get_socket_cached(struct perf_stat_config *config, in perf_stat__get_socket_cached()
1233 static int perf_stat__get_die_cached(struct perf_stat_config *config, in perf_stat__get_die_cached()
1239 static int perf_stat__get_core_cached(struct perf_stat_config *config, in perf_stat__get_core_cached()
1245 static int perf_stat__get_node_cached(struct perf_stat_config *config, in perf_stat__get_node_cached()
/tools/testing/selftests/powerpc/
Dutils.c215 unsigned long config) in perf_event_attr_init()
230 unsigned long config, int group_fd) in perf_event_open_counter()
/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c830 const struct config { in test_all() struct
831 int sotype; in test_all()
832 sa_family_t family; in test_all()
833 bool inany; in test_all()
/tools/testing/selftests/net/
Dhwtstamp_config.c89 struct hwtstamp_config config; in main() local
/tools/testing/selftests/powerpc/security/
Dspectre_v2.c64 static void setup_event(struct event *e, u64 config, char *name) in setup_event()
/tools/perf/arch/x86/util/
Dintel-pt.c65 u64 *config) in intel_pt_parse_terms_with_default()
94 const char *str, u64 *config) in intel_pt_parse_terms()
194 u64 config; in intel_pt_default_config() local
489 const char *supported, u64 config) in intel_pt_val_config_term()
/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c112 ocsd_etmv3_cfg *config) in cs_etm_decoder__gen_etmv3_config()
125 ocsd_etmv4_cfg *config) in cs_etm_decoder__gen_etmv4_config()

12