Skip to content

Commit

Permalink
tl-tester: Don't test SMT in hypervisor
Browse files Browse the repository at this point in the history
Due to the missing any bit
  • Loading branch information
Andi Kleen committed Sep 25, 2019
1 parent 31bce43 commit bf76e11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tl-tester
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,17 @@ checklog() {
}

for j in $SMTCPUS ; do
if ! grep -q hypervisor /proc/cpuinfo ; then
TOPOLOGY=topology EVENTMAP=${cpus[$j]} FORCEHT=1 FORCECPU=$j $WRAP ./toplev.py --force-events -d -l1 $LOAD 2>&1 | tee log.$j
onegroup log.$j
checklog log.$j
fi
TOPOLOGY=topology EVENTMAP=${cpus[$j]} FORCEHT=0 FORCECPU=$j $WRAP ./toplev.py --force-events -d -l1 $LOAD 2>&1 | tee log.$j
onegroup log.$j
if ! grep -q hypervisor /proc/cpuinfo ; then
TOPOLOGY=topology EVENTMAP=${cpus[$j]} FORCEHT=1 FORCECPU=$j $WRAP ./toplev.py --force-events -d $ALL $LOAD 2>&1 | tee log.$j
checklog log.$j
fi
TOPOLOGY=topology EVENTMAP=${cpus[$j]} FORCEHT=0 FORCECPU=$j $WRAP ./toplev.py --force-events -d $ALL $LOAD 2>&1 | tee log.$j
#checklog log.$j
done
Expand Down

0 comments on commit bf76e11

Please sign in to comment.