Searched refs:CPU_TO_TEST (Results 1 – 7 of 7) sorted by relevance
46 CPU_TO_TEST=$OPTARG;;66 if [ -z "${CPU_TO_TEST}" ]; then72 if ! cpu_is_valid "${CPU_TO_TEST}" ; then73 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"76 if ! cpu_is_online ${CPU_TO_TEST}; then77 if ! online_cpu ${CPU_TO_TEST}; then78 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 …]
47 CPU_TO_TEST=$OPTARG;;61 if [ -z "${CPU_TO_TEST}" ]; then66 if ! cpu_is_valid "${CPU_TO_TEST}" ; then67 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"71 if ! cpu_is_online "${CPU_TO_TEST}" ; then72 if ! online_cpu ${CPU_TO_TEST}; then73 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 …]
39 online_cpu "$CPU_TO_TEST"50 CPU_TO_TEST=$OPTARG;;68 if [ -z "$CPU_TO_TEST" ]; then73 if ! cpu_is_valid "${CPU_TO_TEST}" ; then74 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"78 if cpu_is_online "${CPU_TO_TEST}" ; then79 if ! offline_cpu ${CPU_TO_TEST} ; then80 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 …]
56 CPU_TO_TEST=$OPTARG;;71 if [ -z $CPU_TO_TEST ]; then76 if ! cpu_is_valid "${CPU_TO_TEST}" ; then77 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"95 if ! offline_cpu ${CPU_TO_TEST} ; then96 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}; then116 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"131 | sed -e "s/^ *//" | cut -d' ' -f 1 | grep "^${CPU_TO_TEST}$" \[all …]
42 CPU_TO_TEST=$OPTARG;;60 if [ -z "$CPU_TO_TEST" ]; then65 if ! cpu_is_valid "${CPU_TO_TEST}" ; then66 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"70 if ! cpu_is_online "${CPU_TO_TEST}" ; then71 if ! online_cpu ${CPU_TO_TEST}; then72 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be onlined"85 if ! offline_cpu ${CPU_TO_TEST} ; then86 tst_brkm TBROK "CPU${CPU_TO_TEST} cannot be offlined"98 online_cpu ${CPU_TO_TEST}
96 CPU_TO_TEST=$OPTARG;;118 if [ -z "${CPU_TO_TEST}" ]; then123 if ! cpu_is_valid "${CPU_TO_TEST}" ; then124 tst_brkm TCONF "cpu${CPU_TO_TEST} doesn't support hotplug"127 if ! cpu_is_online "${CPU_TO_TEST}" ; then128 if ! online_cpu ${CPU_TO_TEST} ; then129 tst_brkm TBROK "Could not online cpu $CPU_TO_TEST"
56 MASK=$((1<<${CPU_TO_TEST}))