Home
last modified time | relevance | path

Searched refs:CPU_TO_TEST (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/hotplug/cpu_hotplug/functional/
Dcpuhotplug07.sh46 CPU_TO_TEST=$OPTARG;;
66 if [ -z "${CPU_TO_TEST}" ]; then
72 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
73 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
76 if ! cpu_is_online ${CPU_TO_TEST}; then
77 if ! online_cpu ${CPU_TO_TEST}; then
78 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
97 set_affinity ${KCOMPILE_LOOP_PID} ${CPU_TO_TEST}
99 offline_cpu ${CPU_TO_TEST}
101 echo "Offlining cpu${CPU_TO_TEST}: Return Code = ${RC}"
[all …]
Dcpuhotplug02.sh47 CPU_TO_TEST=$OPTARG;;
61 if [ -z "${CPU_TO_TEST}" ]; then
66 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
67 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
71 if ! cpu_is_online "${CPU_TO_TEST}" ; then
72 if ! online_cpu ${CPU_TO_TEST}; then
73 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
86 set_affinity ${SPIN_LOOP_PID} ${CPU_TO_TEST}
89 offline_cpu ${CPU_TO_TEST}
94 if [ ${CPU_TO_TEST} = ${NEW_CPU} ]; then
[all …]
Dcpuhotplug05.sh39 online_cpu "$CPU_TO_TEST"
50 CPU_TO_TEST=$OPTARG;;
68 if [ -z "$CPU_TO_TEST" ]; then
73 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
74 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
78 if cpu_is_online "${CPU_TO_TEST}" ; then
79 if ! offline_cpu ${CPU_TO_TEST} ; then
80 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
97 sar -P "$CPU_TO_TEST" 1 0 > "$LOG_FILE" &
99 sar -P "$CPU_TO_TEST" 1 > "$LOG_FILE" &
[all …]
Dcpuhotplug03.sh56 CPU_TO_TEST=$OPTARG;;
71 if [ -z $CPU_TO_TEST ]; then
76 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
77 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
95 if ! offline_cpu ${CPU_TO_TEST} ; then
96 tst_resm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
114 tst_resm TINFO "Onlining CPU ${CPU_TO_TEST}"
115 if ! online_cpu ${CPU_TO_TEST}; then
116 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
131 | sed -e "s/^ *//" | cut -d' ' -f 1 | grep "^${CPU_TO_TEST}$" \
[all …]
Dcpuhotplug06.sh42 CPU_TO_TEST=$OPTARG;;
60 if [ -z "$CPU_TO_TEST" ]; then
65 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
66 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
70 if ! cpu_is_online "${CPU_TO_TEST}" ; then
71 if ! online_cpu ${CPU_TO_TEST}; then
72 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
85 if ! offline_cpu ${CPU_TO_TEST} ; then
86 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
98 online_cpu ${CPU_TO_TEST}
Dcpuhotplug01.sh96 CPU_TO_TEST=$OPTARG;;
118 if [ -z "${CPU_TO_TEST}" ]; then
123 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
124 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
127 if ! cpu_is_online "${CPU_TO_TEST}" ; then
128 if ! online_cpu ${CPU_TO_TEST} ; then
129 tst_brkm TBROK "Could not online cpu $CPU_TO_TEST"
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh56 MASK=$((1<<${CPU_TO_TEST}))