Home
last modified time | relevance | path

Searched refs:online (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online
86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online
91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online
96 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
120 echo $FUNCNAME $cpu: unexpected online >&2
/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c54 bool *online; in test_perf_buffer() local
61 &online, &on_len); in test_perf_buffer()
66 if (online[i]) in test_perf_buffer()
92 if (i >= on_len || !online[i]) { in test_perf_buffer()
115 if (i >= on_len || !online[i]) in test_perf_buffer()
142 free(online); in test_perf_buffer()
Draw_tp_test_run.c18 bool *online = NULL; in test_raw_tp_test_run() local
25 err = parse_cpu_mask_file("/sys/devices/system/cpu/online", &online, in test_raw_tp_test_run()
63 if (!online[i]) in test_raw_tp_test_run()
95 free(online); in test_raw_tp_test_run()
/tools/testing/selftests/cpufreq/
Dcpu.sh35 echo 0 > $CPUROOT/$1/online
42 echo 1 > $CPUROOT/$1/online
/tools/testing/selftests/rcutorture/bin/
Djitter.sh31 if test -f $i/online
56 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh58 hotpluggable_memory online
63 grep -q online $SYSFS/devices/system/memory/memory$1/state
73 echo online > $SYSFS/devices/system/memory/memory$1/state
103 echo $FUNCNAME $memory: unexpected online >&2
/tools/virtio/ringtest/
Drun-on-all.sh4 CPUS_ONLINE=$(lscpu --online -p=cpu|grep -v -e '#')
/tools/perf/util/
Dcpumap.c582 static const struct perf_cpu_map *online = NULL; in cpu_map__online() local
584 if (!online) in cpu_map__online()
585 online = perf_cpu_map__new(NULL); /* from /sys/devices/system/cpu/online */ in cpu_map__online()
587 return online; in cpu_map__online()
/tools/power/x86/intel-speed-select/
Disst-config.c392 int j, online, pkg_id, die_id = 0, skip = 0; in for_each_online_package_in_set() local
397 online = parse_int_file( in for_each_online_package_in_set()
400 online = in for_each_online_package_in_set()
422 if (!skip && online && callback) { in for_each_online_package_in_set()
436 int online; in for_each_online_target_cpu_in_set() local
441 online = parse_int_file( in for_each_online_target_cpu_in_set()
444 online = in for_each_online_target_cpu_in_set()
447 if (online && callback) { in for_each_online_target_cpu_in_set()
/tools/testing/selftests/net/
Dfib_nexthop_multiprefix.sh238 cpus=$(cat /sys/devices/system/cpu/online)
/tools/perf/Documentation/
Dperf-ftrace.txt62 Default is to trace on all online CPUs.
Dperf-stat.txt264 socket number and the number of online processors on that socket. This is
271 die number and the number of online processors on that die. This is
278 core number and the number of online logical processors on that physical processor.
Dperf-top.txt274 By default, the number of threads equals to the number of online CPUs.
/tools/lib/bpf/
Dlibbpf.c10122 bool *online = NULL; in __perf_buffer__new() local
10202 err = parse_cpu_mask_file(online_cpus_file, &online, &n); in __perf_buffer__new()
10218 if (p->cpu_cnt <= 0 && (cpu >= n || !online[cpu])) in __perf_buffer__new()
10252 free(online); in __perf_buffer__new()
10257 free(online); in __perf_buffer__new()
/tools/power/pm-graph/
DREADME16 Full documentation available online & in man pages