Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 136) sorted by relevance

123456

/tools/testing/kunit/configs/
Dbroken_on_uml.config2 # CONFIG_STATIC_LINK is not set
3 # CONFIG_UML_NET_VECTOR is not set
4 # CONFIG_UML_NET_VDE is not set
5 # CONFIG_UML_NET_PCAP is not set
6 # CONFIG_NET_PTP_CLASSIFY is not set
7 # CONFIG_IP_VS is not set
8 # CONFIG_BRIDGE_EBT_BROUTE is not set
9 # CONFIG_BRIDGE_EBT_T_FILTER is not set
10 # CONFIG_BRIDGE_EBT_T_NAT is not set
11 # CONFIG_MTD_NAND_CADENCE is not set
[all …]
/tools/perf/
Dbuiltin-config.c37 static int set_config(struct perf_config_set *set, const char *file_name) in set_config() argument
44 if (set == NULL) in set_config()
54 perf_config_items__for_each_entry(&set->sections, section) { in set_config()
72 static int show_spec_config(struct perf_config_set *set, const char *var) in show_spec_config() argument
77 if (set == NULL) in show_spec_config()
80 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config()
102 static int show_config(struct perf_config_set *set) in show_config() argument
107 if (set == NULL) in show_config()
110 perf_config_set__for_each_entry(set, section, item) { in show_config()
159 struct perf_config_set *set; in cmd_config() local
[all …]
Dperf.c417 sigset_t set; in pthread__block_sigwinch() local
419 sigemptyset(&set); in pthread__block_sigwinch()
420 sigaddset(&set, SIGWINCH); in pthread__block_sigwinch()
421 pthread_sigmask(SIG_BLOCK, &set, NULL); in pthread__block_sigwinch()
426 sigset_t set; in pthread__unblock_sigwinch() local
428 sigemptyset(&set); in pthread__unblock_sigwinch()
429 sigaddset(&set, SIGWINCH); in pthread__unblock_sigwinch()
430 pthread_sigmask(SIG_UNBLOCK, &set, NULL); in pthread__unblock_sigwinch()
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h85 cpu_set_t set; in bind_cpu() local
87 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
88 CPU_ZERO(&set); in bind_cpu()
89 CPU_SET(cpu, &set); in bind_cpu()
90 return sched_setaffinity(getpid(), sizeof(set), &set); in bind_cpu()
/tools/testing/selftests/bpf/
Dtesting_helpers.c10 bool *set = NULL, *tmp, parsing_end = false; in parse_num_list() local
45 tmp = realloc(set, new_len); in parse_num_list()
47 free(set); in parse_num_list()
52 set = tmp; in parse_num_list()
56 set[i] = true; in parse_num_list()
59 if (!set) in parse_num_list()
62 *num_set = set; in parse_num_list()
Dtest_bpftool.py148 not_full_set = set()
149 full_set = set()
161 self.assertCountEqual(not_full_set - full_set, set())
Dtest_progs.c419 static void free_str_set(const struct str_set *set) in free_str_set() argument
423 if (!set) in free_str_set()
426 for (i = 0; i < set->cnt; i++) in free_str_set()
427 free((void *)set->strs[i]); in free_str_set()
428 free(set->strs); in free_str_set()
431 static int parse_str_list(const char *s, struct str_set *set) in parse_str_list() argument
440 set->cnt = 0; in parse_str_list()
441 set->strs = NULL; in parse_str_list()
456 set->cnt = cnt; in parse_str_list()
457 set->strs = (const char **)strs; in parse_str_list()
Dtesting_helpers.h7 int parse_num_list(const char *s, bool **set, int *set_len);
/tools/perf/util/
Ds390-sample-raw.c32 static size_t ctrset_size(struct cf_ctrset_entry *set) in ctrset_size() argument
34 return sizeof(*set) + set->ctr * sizeof(u64); in ctrset_size()
37 static bool ctrset_valid(struct cf_ctrset_entry *set) in ctrset_valid() argument
39 return set->def == S390_CPUMCF_DIAG_DEF; in ctrset_valid()
58 ce.set = be16_to_cpu(cep->set); in s390_cpumcfdg_testctr()
138 static const char *get_counter_name(int set, int nr, struct pmu_events_map *map) in get_counter_name() argument
140 int rc, event_nr, wanted = get_counterset_start(set) + nr; in get_counter_name()
172 ce.set = be16_to_cpu(cep->set); in s390_cpumcfdg_dump()
183 " Counters:%d\n", offset, ce.set, ce.ctr); in s390_cpumcfdg_dump()
185 const char *ev_name = get_counter_name(ce.set, i, map); in s390_cpumcfdg_dump()
Dconfig.h41 void perf_config_set__delete(struct perf_config_set *set);
42 int perf_config_set__collect(struct perf_config_set *set, const char *file_name,
69 #define perf_config_set__for_each_entry(set, section, item) \ argument
70 perf_config_sections__for_each_entry(&set->sections, section) \
Dconfig.c617 struct perf_config_set *set = perf_config_set; in collect_config() local
620 if (set == NULL) in collect_config()
623 sections = &set->sections; in collect_config()
669 int perf_config_set__collect(struct perf_config_set *set, const char *file_name, in perf_config_set__collect() argument
673 return collect_config(var, value, set); in perf_config_set__collect()
676 static int perf_config_set__init(struct perf_config_set *set) in perf_config_set__init() argument
685 return perf_config_from_file(collect_config, config_exclusive_filename, set); in perf_config_set__init()
687 if (perf_config_from_file(collect_config, perf_etc_perfconfig(), set) < 0) in perf_config_set__init()
721 ret = perf_config_from_file(collect_config, user_config, set); in perf_config_set__init()
731 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__new() local
[all …]
/tools/testing/selftests/timers/
D.gitignore14 set-2038
15 set-tai
16 set-timer-lat
21 set-tz
/tools/testing/selftests/mqueue/
Dmq_open_tests.c64 static inline void set(FILE *stream, int value);
127 static inline void set(FILE *stream, int value) in set() function
172 set(def_msgs, 10); in validate_current_settings()
174 set(def_msgsize, 128); in validate_current_settings()
187 set(max_msgs, 10); in validate_current_settings()
189 set(max_msgsize, 128); in validate_current_settings()
337 set(max_msgs, ++cur_max_msgs); in main()
338 set(max_msgsize, ++cur_max_msgsize); in main()
368 set(def_msgs, ++cur_def_msgs); in main()
369 set(def_msgsize, ++cur_def_msgsize); in main()
[all …]
/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c26 cpu_set_t set; in child() local
28 CPU_ZERO(&set); in child()
29 CPU_SET(cpu, &set); in child()
30 if (sched_setaffinity(0, sizeof(set), &set) != 0) { in child()
/tools/perf/Documentation/
Dperf.txt27 Display or set exec path.
37 Do not set pager.
50 Set debugfs directory or set environment variable PERF_DEBUGFS_DIR.
58 List of debug variables allowed to set:
/tools/power/cpupower/
D.gitignore7 cpufreq-set
19 utils/cpufreq-set.o
/tools/power/cpupower/po/
Dpt.po370 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
508 "equivalente a setá-lo como zero\n"
528 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
545 #: utils/cpufreq-set.c:25
547 msgid "Usage: cpupower frequency-set [options]\n"
548 msgstr "Uso: cpufreq-set [opções]\n"
550 #: utils/cpufreq-set.c:27
559 #: utils/cpufreq-set.c:28
568 #: utils/cpufreq-set.c:29
573 #: utils/cpufreq-set.c:30
[all …]
Dit.po371 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
526 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
542 #: utils/cpufreq-set.c:25
544 msgid "Usage: cpupower frequency-set [options]\n"
545 msgstr "Uso: cpufreq-set [opzioni]\n"
547 #: utils/cpufreq-set.c:27
556 #: utils/cpufreq-set.c:28
565 #: utils/cpufreq-set.c:29
570 #: utils/cpufreq-set.c:30
573 " -f FREQ, --freq FREQ specific frequency to be set. Requires userspace\n"
[all …]
Dcs.po376 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
523 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
539 #: utils/cpufreq-set.c:25
541 msgid "Usage: cpupower frequency-set [options]\n"
542 msgstr "Užití: cpufreq-set [přepínače]\n"
544 #: utils/cpufreq-set.c:27
553 #: utils/cpufreq-set.c:28
562 #: utils/cpufreq-set.c:29
567 #: utils/cpufreq-set.c:30
570 " -f FREQ, --freq FREQ specific frequency to be set. Requires userspace\n"
[all …]
Dfr.po371 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
523 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
539 #: utils/cpufreq-set.c:25
541 msgid "Usage: cpupower frequency-set [options]\n"
542 msgstr "Usage : cpufreq-set [options]\n"
544 #: utils/cpufreq-set.c:27
553 #: utils/cpufreq-set.c:28
562 #: utils/cpufreq-set.c:29
567 #: utils/cpufreq-set.c:30
570 " -f FREQ, --freq FREQ specific frequency to be set. Requires userspace\n"
[all …]
Dde.po385 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
540 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
557 #: utils/cpufreq-set.c:25
559 msgid "Usage: cpupower frequency-set [options]\n"
560 msgstr "Aufruf: cpupower frequency-set [Optionen]\n"
562 #: utils/cpufreq-set.c:27
571 #: utils/cpufreq-set.c:28
580 #: utils/cpufreq-set.c:29
585 #: utils/cpufreq-set.c:30
588 " -f FREQ, --freq FREQ specific frequency to be set. Requires userspace\n"
[all …]
/tools/testing/selftests/tc-testing/
Dtdc_helper.py21 return list(set(lst))
42 categories = set(map(lambda x: x['category'], testlist))
/tools/lib/traceevent/plugins/
Dplugin_function.c35 .set = 1,
42 .set = 0,
125 if (ftrace_offset->set) { in show_function()
151 if (parent && ftrace_indent->set) in function_handler()
161 if (ftrace_parent->set) { in function_handler()
/tools/perf/tests/
Dmem2node.c62 (nodes[i].set = get_bitmap(test_nodes[i].map, 10))); in test__mem2node()
75 zfree(&nodes[i].set); in test__mem2node()
/tools/testing/selftests/tc-testing/plugin-lib/
DREADME-PLUGINS2 Make a set of numbered symbolic links from there to the actual plugins.
21 …Run the command under test with valgrind, and produce an extra set of TAP results for the memory t…

123456