Home
last modified time | relevance | path

Searched defs:config (Results 1 – 25 of 34) 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.c23 static void print_running(struct perf_stat_config *config, in print_running()
37 static void print_noise_pct(struct perf_stat_config *config, in print_noise_pct()
48 static void print_noise(struct perf_stat_config *config, in print_noise()
60 static void print_cgroup(struct perf_stat_config *config, struct evsel *evsel) in print_cgroup()
69 static void aggr_printout(struct perf_stat_config *config, in aggr_printout()
151 static void do_new_line_std(struct perf_stat_config *config, in do_new_line_std()
162 static void print_metric_std(struct perf_stat_config *config, in print_metric_std()
189 static void new_line_csv(struct perf_stat_config *config, void *ctx) in new_line_csv()
248 static void print_metric_only(struct perf_stat_config *config, in print_metric_only()
296 static void print_metric_header(struct perf_stat_config *config, in print_metric_header()
[all …]
Dstat-shadow.c425 static void print_stalled_cycles_frontend(struct perf_stat_config *config, in print_stalled_cycles_frontend()
449 static void print_stalled_cycles_backend(struct perf_stat_config *config, in print_stalled_cycles_backend()
469 static void print_branch_misses(struct perf_stat_config *config, in print_branch_misses()
490 static void print_l1_dcache_misses(struct perf_stat_config *config, in print_l1_dcache_misses()
512 static void print_l1_icache_misses(struct perf_stat_config *config, in print_l1_icache_misses()
533 static void print_dtlb_cache_misses(struct perf_stat_config *config, in print_dtlb_cache_misses()
553 static void print_itlb_cache_misses(struct perf_stat_config *config, in print_itlb_cache_misses()
573 static void print_ll_cache_misses(struct perf_stat_config *config, in print_ll_cache_misses()
697 static void print_smi_cost(struct perf_stat_config *config, in print_smi_cost()
722 static void generic_metric(struct perf_stat_config *config, in generic_metric()
[all …]
Dparse-events.y307 int config = $1 & 255; variable
319 int config = $1 & 255; variable
575 int config = $3 & 255; variable
593 int config = $1 & 255; variable
Dstat.c281 process_counter_values(struct perf_stat_config *config, struct evsel *evsel, in process_counter_values()
332 static int process_counter_maps(struct perf_stat_config *config, in process_counter_maps()
353 int perf_stat_process_counter(struct perf_stat_config *config, in perf_stat_process_counter()
465 struct perf_stat_config *config, in create_perf_stat_counter()
Dparse-events.c148 #define __PERF_EVENT_FIELD(config, name) \ argument
151 #define PERF_EVENT_RAW(config) __PERF_EVENT_FIELD(config, RAW) argument
152 #define PERF_EVENT_CONFIG(config) __PERF_EVENT_FIELD(config, CONFIG) argument
153 #define PERF_EVENT_TYPE(config) __PERF_EVENT_FIELD(config, TYPE) argument
154 #define PERF_EVENT_ID(config) __PERF_EVENT_FIELD(config, EVENT) argument
186 struct tracepoint_path *tracepoint_id_to_path(u64 config) in tracepoint_id_to_path()
1268 u32 type, u64 config, in parse_events_add_numeric()
2328 static bool is_event_supported(u8 type, unsigned config) in is_event_supported()
2692 int type_term, char *config, u64 num, in parse_events_term__num()
2712 int type_term, char *config, char *str, in parse_events_term__str()
[all …]
Dparse-events.l150 static int sym(yyscan_t scanner, int type, int config) in sym()
Dstrlist.c159 struct strlist *strlist__new(const char *list, const struct strlist_config *config) in strlist__new()
Dintel-pt.c714 struct perf_event_attr *attr, u64 *config) in intel_pt_get_config()
740 u64 config; in intel_pt_return_compression() local
756 u64 config; in intel_pt_branch_enable() local
770 u64 config; in intel_pt_mtc_period() local
789 u64 config; in intel_pt_timeless_decoding() local
823 u64 config; in intel_pt_have_tsc() local
Dparse-events.h92 char *config; member
/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()
/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/testing/selftests/powerpc/
Dutils.c183 unsigned long config) in perf_event_attr_init()
198 unsigned long config, int group_fd) in perf_event_open_counter()
/tools/perf/
Dbuiltin-stat.c827 static int perf_stat__get_aggr(struct perf_stat_config *config, in perf_stat__get_aggr()
843 static int perf_stat__get_socket_cached(struct perf_stat_config *config, in perf_stat__get_socket_cached()
849 static int perf_stat__get_die_cached(struct perf_stat_config *config, in perf_stat__get_die_cached()
855 static int perf_stat__get_core_cached(struct perf_stat_config *config, in perf_stat__get_core_cached()
1561 static int runtime_stat_new(struct perf_stat_config *config, int nthreads) in runtime_stat_new()
1577 static void runtime_stat_delete(struct perf_stat_config *config) in runtime_stat_delete()
/tools/testing/selftests/networking/timestamping/
Dhwtstamp_config.c89 struct hwtstamp_config config; in main() local
/tools/lib/bpf/
Dxsk.c51 struct xsk_umem_config config; member
61 struct xsk_socket_config config; member
322 struct xsk_umem_config config; in xsk_umem__create_v0_0_2() local
/tools/perf/arch/x86/util/
Dintel-pt.c62 u64 *config) in intel_pt_parse_terms_with_default()
90 u64 *config) in intel_pt_parse_terms()
189 u64 config; in intel_pt_default_config() local
480 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()
/tools/perf/arch/arm/util/
Dcs-etm.c437 u64 config = 0; in cs_etm_get_config() local
468 u64 config = 0; in cs_etmv4_get_config() local
/tools/perf/scripts/python/
Dexport-to-sqlite.py781 def synth_data(id, config, raw_buf, *x): argument

12