Home
last modified time | relevance | path

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

123

/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h75 cpu_set_t set; in bind_cpu() local
77 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu()
78 CPU_ZERO(&set); in bind_cpu()
79 CPU_SET(cpu, &set); in bind_cpu()
80 return sched_setaffinity(getpid(), sizeof(set), &set); in bind_cpu()
/tools/perf/
Dbuiltin-config.c36 static int show_config(struct perf_config_set *set) in show_config() argument
41 if (set == NULL) in show_config()
44 perf_config_set__for_each_entry(set, section, item) { in show_config()
58 struct perf_config_set *set; in cmd_config() local
80 set = perf_config_set__new(); in cmd_config()
81 if (!set) { in cmd_config()
92 ret = show_config(set); in cmd_config()
106 perf_config_set__delete(set); in cmd_config()
Dperf.c484 sigset_t set; in pthread__block_sigwinch() local
486 sigemptyset(&set); in pthread__block_sigwinch()
487 sigaddset(&set, SIGWINCH); in pthread__block_sigwinch()
488 pthread_sigmask(SIG_BLOCK, &set, NULL); in pthread__block_sigwinch()
493 sigset_t set; in pthread__unblock_sigwinch() local
495 sigemptyset(&set); in pthread__unblock_sigwinch()
496 sigaddset(&set, SIGWINCH); in pthread__unblock_sigwinch()
497 pthread_sigmask(SIG_UNBLOCK, &set, NULL); in pthread__unblock_sigwinch()
Ddesign.txt30 can be used to set the blocking mode, etc.
121 in a 0x4064 event_id value and set hw_event.raw_type to 1.
160 * Bits that can be set in hw_event.read_format to request that
174 A "sampling" counter is one that is set up to generate an interrupt
180 * Bits that can be set in hw_event.record_type to request information
199 The 'inherit' bit, if set, specifies that this counter should count
205 The 'pinned' bit, if set, specifies that the counter should always be
213 The 'exclusive' bit, if set, specifies that when this counter's group
261 The 'group_fd' parameter allows counter "groups" to be set up. A
273 with each other, since they have counted events for the same set of
[all …]
Dbuiltin-inject.c632 inject->itrace_synth_opts.set) { in __cmd_inject()
659 } else if (inject->itrace_synth_opts.set) { in __cmd_inject()
677 if (!inject->itrace_synth_opts.set) in __cmd_inject()
694 inject->have_auxtrace && !inject->itrace_synth_opts.set) in __cmd_inject()
701 if (inject->itrace_synth_opts.set) { in __cmd_inject()
808 if (inject.strip && !inject.itrace_synth_opts.set) { in cmd_inject()
/tools/testing/selftests/mqueue/
Dmq_open_tests.c61 static inline void set(FILE *stream, int value);
124 static inline void set(FILE *stream, int value) in set() function
169 set(def_msgs, 10); in validate_current_settings()
171 set(def_msgsize, 128); in validate_current_settings()
184 set(max_msgs, 10); in validate_current_settings()
186 set(max_msgsize, 128); in validate_current_settings()
336 set(max_msgs, ++cur_max_msgs); in main()
337 set(max_msgsize, ++cur_max_msgsize); in main()
367 set(def_msgs, ++cur_def_msgs); in main()
368 set(def_msgsize, ++cur_def_msgsize); in main()
[all …]
/tools/testing/selftests/timers/
D.gitignore13 set-2038
14 set-tai
15 set-timer-lat
/tools/perf/util/
Dconfig.c565 struct perf_config_set *set = perf_config_set; in collect_config() local
568 if (set == NULL) in collect_config()
571 sections = &set->sections; in collect_config()
605 static int perf_config_set__init(struct perf_config_set *set) in perf_config_set__init() argument
612 return perf_config_from_file(collect_config, config_exclusive_filename, set); in perf_config_set__init()
614 if (perf_config_from_file(collect_config, perf_etc_perfconfig(), set) < 0) in perf_config_set__init()
641 ret = perf_config_from_file(collect_config, user_config, set); in perf_config_set__init()
652 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__new() local
654 if (set) { in perf_config_set__new()
655 INIT_LIST_HEAD(&set->sections); in perf_config_set__new()
[all …]
Dconfig.h35 void perf_config_set__delete(struct perf_config_set *set);
62 #define perf_config_set__for_each_entry(set, section, item) \ argument
63 perf_config_sections__for_each_entry(&set->sections, section) \
/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c35 cpu_set_t set; in child() local
37 CPU_ZERO(&set); in child()
38 CPU_SET(cpu, &set); in child()
39 if (sched_setaffinity(0, sizeof(set), &set) != 0) { in child()
Dbreakpoint_test.c52 int local, int global, int set) in toggle_breakpoint() argument
101 if (set) in toggle_breakpoint()
/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 …]
Dde.po373 #: utils/cpufreq-info.c:473 utils/cpufreq-set.c:26 utils/cpupower-set.c:23
531 #: utils/cpufreq-info.c:600 utils/cpufreq-set.c:82 utils/cpupower-set.c:42
548 #: utils/cpufreq-set.c:25
550 msgid "Usage: cpupower frequency-set [options]\n"
551 msgstr "Aufruf: cpufreq-set [Optionen]\n"
553 #: utils/cpufreq-set.c:27
562 #: utils/cpufreq-set.c:28
571 #: utils/cpufreq-set.c:29
576 #: utils/cpufreq-set.c:30
579 " -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 …]
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 …]
/tools/lib/traceevent/
Dplugin_function.c49 .set = 1,
145 if (parent && ftrace_indent->set) in function_handler()
155 if (ftrace_parent->set) { in function_handler()
Devent-plugin.c70 op->set ^= 1; in update_option_value()
91 op->set = 1; in update_option_value()
93 op->set = 0; in update_option_value()
/tools/perf/pmu-events/
DREADME12 JSON files, each of which describes a set of PMU events.
15 to be a CSV file that maps a specific CPU to its set of PMU events.
70 1. Several CPUs can support same set of events and hence use a common
97 The mapfile enables multiple CPU models to share a single set of PMU events.
121 to identify CPU (and associate it with a set of PMU events
/tools/testing/ktest/examples/
DREADME3 is broken up by task which makes it easier to understand how to set up
27 to reuse configs for various machines or set ups. The files here
/tools/thermal/tmon/
DREADME26 tmon.c : main function for set up and configurations.
45 -t, --time-interval set time interval for sampling
/tools/perf/Documentation/
Dperf-bench.txt161 Suite for evaluating performance of simple memory set in various ways.
167 Specify size of memory to set (default: 1MB).
172 Specify function to set (default: default).
Dperf-data.txt21 It's possible to set data-convert debug variable to get debug messages from conversion,
/tools/testing/selftests/ftrace/
DREADME41 * Note that the tests are run with "set -e" (errexit) option. If any
61 or the test was set up incorrectly

123