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/
Dcpuhotplug02.sh47 CPU_TO_TEST=$OPTARG;;
65 if [ -z "${CPU_TO_TEST}" ]; then
70 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
71 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
75 if ! cpu_is_online "${CPU_TO_TEST}" ; then
76 if ! online_cpu ${CPU_TO_TEST}; then
77 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
90 set_affinity ${SPIN_LOOP_PID} ${CPU_TO_TEST}
93 if ! offline_cpu ${CPU_TO_TEST}; then
94 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
[all …]
Dcpuhotplug05.sh39 if ! online_cpu ${CPU_TO_TEST}; then
40 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
52 CPU_TO_TEST=$OPTARG;;
74 if [ -z "$CPU_TO_TEST" ]; then
79 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
80 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
84 if cpu_is_online "${CPU_TO_TEST}" ; then
85 if ! offline_cpu ${CPU_TO_TEST} ; then
86 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
103 sar -P "$CPU_TO_TEST" 1 0 > "$LOG_FILE" &
[all …]
Dcpuhotplug07.sh46 CPU_TO_TEST=$OPTARG;;
70 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"
80 if ! cpu_is_online ${CPU_TO_TEST}; then
81 if ! online_cpu ${CPU_TO_TEST}; then
82 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
101 set_affinity ${KCOMPILE_LOOP_PID} ${CPU_TO_TEST}
103 if ! offline_cpu ${CPU_TO_TEST}; then
104 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
[all …]
Dcpuhotplug06.sh42 CPU_TO_TEST=$OPTARG;;
64 if [ -z "$CPU_TO_TEST" ]; then
69 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
70 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
74 if ! cpu_is_online "${CPU_TO_TEST}" ; then
75 if ! online_cpu ${CPU_TO_TEST}; then
76 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
89 if ! offline_cpu ${CPU_TO_TEST} ; then
90 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
102 if ! online_cpu ${CPU_TO_TEST}; then
[all …]
Dcpuhotplug03.sh56 CPU_TO_TEST=$OPTARG;;
75 if [ -z $CPU_TO_TEST ]; then
80 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
81 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
99 if ! offline_cpu ${CPU_TO_TEST} ; then
100 tst_resm TBROK "CPU${CPU_TO_TEST} cannot be offlined"
118 tst_resm TINFO "Onlining CPU ${CPU_TO_TEST}"
119 if ! online_cpu ${CPU_TO_TEST}; then
120 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"
135 | sed -e "s/^ *//" | cut -d' ' -f 1 | grep "^${CPU_TO_TEST}$" \
[all …]
Dcpuhotplug01.sh96 CPU_TO_TEST=$OPTARG;;
122 if [ -z "${CPU_TO_TEST}" ]; then
127 if ! cpu_is_valid "${CPU_TO_TEST}" ; then
128 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"
131 if ! cpu_is_online "${CPU_TO_TEST}" ; then
132 if ! online_cpu ${CPU_TO_TEST} ; then
133 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}))