#!/system/bin/sh
ANR=/data/anr/anr_2026-07-31-13-30-08-628
echo "=== RenderThread ==="
su -c "awk '/\"RenderThread\"/{p=1} p{print} p&&/^\"/{if(!/RenderThread/){exit}}' $ANR" | head -60
echo "=== Quake / promon threads ==="
su -c "grep -E '^\"|libtng|Quake|xwwq|promon|tiger' $ANR | head -80"
