Home
last modified time | relevance | path

Searched refs:online_cpus (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
33 online_max=${online_cpus##*-}
35 if [[ "$online_cpus" = "$online_max" ]]; then
36 echo "$msg: since there is only one cpu: $online_cpus"
44 echo -e "\t Cpus in online state: $online_cpus"
154 online_cpus=0
/tools/perf/arch/arm/util/
Dcs-etm.c163 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_set_option() local
168 !cpu_map__has(online_cpus, i)) in cs_etm_set_option()
188 perf_cpu_map__put(online_cpus); in cs_etm_set_option()
497 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_priv_size() local
503 !cpu_map__has(online_cpus, i)) in cs_etm_info_priv_size()
514 if (!cpu_map__has(online_cpus, i)) in cs_etm_info_priv_size()
524 perf_cpu_map__put(online_cpus); in cs_etm_info_priv_size()
644 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_fill() local
657 cpu_map = online_cpus; in cs_etm_info_fill()
662 !cpu_map__has(online_cpus, i)) in cs_etm_info_fill()
[all …]