summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/dbg_seq2.sh
blob: 28290ebb784868c3deb55280d8c76edf908b1bfa (plain)
1
2
3
4
5
6
7
#!/bin/bash
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2026 Open-IOV contributors
/tmp/ptio /tmp/cdt > /dev/null 2>/tmp/tr.log
n=$(grep -n 'req=0x25' /tmp/tr.log | head -1 | cut -d: -f1)
echo "=== controls AFTER register (line $n), first 40: ==="
sed -n "$((n+1)),$((n+45))p" /tmp/tr.log