Searched refs:online (Results 1 – 15 of 15) sorted by relevance
/tools/testing/selftests/cpu-hotplug/ |
D | cpu-on-off-test.sh | 32 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/ |
D | perf_buffer.c | 54 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()
|
D | raw_tp_test_run.c | 18 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/ |
D | cpu.sh | 35 echo 0 > $CPUROOT/$1/online 42 echo 1 > $CPUROOT/$1/online
|
/tools/testing/selftests/rcutorture/bin/ |
D | jitter.sh | 31 if test -f $i/online 56 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
|
/tools/testing/selftests/memory-hotplug/ |
D | mem-on-off-test.sh | 58 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/ |
D | run-on-all.sh | 4 CPUS_ONLINE=$(lscpu --online -p=cpu|grep -v -e '#')
|
/tools/perf/util/ |
D | cpumap.c | 582 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/ |
D | isst-config.c | 392 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/ |
D | fib_nexthop_multiprefix.sh | 238 cpus=$(cat /sys/devices/system/cpu/online)
|
/tools/perf/Documentation/ |
D | perf-ftrace.txt | 62 Default is to trace on all online CPUs.
|
D | perf-stat.txt | 264 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.
|
D | perf-top.txt | 274 By default, the number of threads equals to the number of online CPUs.
|
/tools/lib/bpf/ |
D | libbpf.c | 10122 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/ |
D | README | 16 Full documentation available online & in man pages
|