Skip to content

Commit bc7e730

Browse files
authored
Merge pull request #5891 from DeliZhangX/private/deliz/CP-50121
CP-50121: Remove bc package from XS9 dom0
2 parents 76b3db6 + 670cb99 commit bc7e730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/xe-xentrace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ if [ -n "${DUMP_ON_CPUAVG}" ]; then
144144
| (TRIGGER=0
145145
read -r _IGNORE
146146
while IFS=, read -r _time value; do
147-
if (( $(echo "${value} > ${DUMP_ON_CPUAVG}/100" | bc -l) )); then
147+
if (( $(python3 -c "print(1 if ${value} > ${DUMP_ON_CPUAVG}/100.0 else 0)") )); then
148148
TRIGGER=$((TRIGGER + 1))
149149
else
150150
TRIGGER=0

0 commit comments

Comments
 (0)