Skip to content

Commit

Permalink
Merge pull request #5891 from DeliZhangX/private/deliz/CP-50121
Browse files Browse the repository at this point in the history
CP-50121: Remove bc package from XS9 dom0
  • Loading branch information
liulinC authored Jul 31, 2024
2 parents 76b3db6 + 670cb99 commit bc7e730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xe-xentrace
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if [ -n "${DUMP_ON_CPUAVG}" ]; then
| (TRIGGER=0
read -r _IGNORE
while IFS=, read -r _time value; do
if (( $(echo "${value} > ${DUMP_ON_CPUAVG}/100" | bc -l) )); then
if (( $(python3 -c "print(1 if ${value} > ${DUMP_ON_CPUAVG}/100.0 else 0)") )); then
TRIGGER=$((TRIGGER + 1))
else
TRIGGER=0
Expand Down

0 comments on commit bc7e730

Please sign in to comment.