Home
last modified time | relevance | path

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

/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/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/cpufreq/
Dcpu.sh35 echo 0 > $CPUROOT/$1/online
42 echo 1 > $CPUROOT/$1/online
/tools/testing/selftests/rcutorture/bin/
Djitter.sh33 if test -f $i/online
58 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.c609 static const struct perf_cpu_map *online = NULL; in cpu_map__online() local
611 if (!online) in cpu_map__online()
612 online = perf_cpu_map__new(NULL); /* from /sys/devices/system/cpu/online */ in cpu_map__online()
614 return online; in cpu_map__online()
/tools/power/x86/intel-speed-select/
Disst-config.c424 int j, online, pkg_id, die_id = 0, skip = 0; in for_each_online_package_in_set() local
429 online = parse_int_file( in for_each_online_package_in_set()
432 online = in for_each_online_package_in_set()
454 if (!skip && online && callback) { in for_each_online_package_in_set()
468 int online; in for_each_online_target_cpu_in_set() local
473 online = parse_int_file( in for_each_online_target_cpu_in_set()
476 online = in for_each_online_target_cpu_in_set()
479 if (online && callback) { in for_each_online_target_cpu_in_set()
2372 int online; in set_turbo_mode() local
2375 online = parse_int_file( in set_turbo_mode()
[all …]
/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-daemon.txt170 Make sure control session is online:
Dperf-stat.txt299 socket number and the number of online processors on that socket. This is
306 die number and the number of online processors on that die. This is
313 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.c9994 bool *online = NULL; in __perf_buffer__new() local
10074 err = parse_cpu_mask_file(online_cpus_file, &online, &n); in __perf_buffer__new()
10090 if (p->cpu_cnt <= 0 && (cpu >= n || !online[cpu])) in __perf_buffer__new()
10124 free(online); in __perf_buffer__new()
10129 free(online); in __perf_buffer__new()
/tools/power/pm-graph/
DREADME16 Full documentation available online & in man pages