-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparse_debug.sh
More file actions
executable file
·18 lines (15 loc) · 1008 Bytes
/
parse_debug.sh
File metadata and controls
executable file
·18 lines (15 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
debug_out=$1
echo $(dirname "$debug_out")
out_dir=$(dirname "$debug_out")
grep "Submit_io_request GPU_queue_ID=" $debug_out > $out_dir/1_submit.out
# grep "PCIe_Link::Deliver registering event" $debug_out > $out_dir/pcie_link_deliver.out
# grep "PCIe_Switch::Send_to_host" $debug_out > $out_dir/pcie_switch_send_host.out
# grep "PCIe_Switch::Deliver_to_device" $debug_out > $out_dir/pcie_switch_deliver_device.out
grep "PCIe_Root_Complex::Read_from_memory" $debug_out > $out_dir/2_pcie_root_read_mem.out
grep "** Host Interface: Handle new Request" $debug_out > $out_dir/3_HIL_new_req.out
grep "NVM_PHY_ONFI_NVDDR2::Send_command_to_chip" $debug_out > $out_dir/4_send_chip.out
grep "Flash_Chip" $debug_out > $out_dir/56_chip.out
grep "Flash_Chip::start" $debug_out > $out_dir/5_chip_start.out
grep "Flash_Chip::finish" $debug_out > $out_dir/6_chip_finish.out
grep "** Host Interface: Request #" $debug_out > $out_dir/7_HIL_finish.out
grep "NVMe_consume_io_request" $debug_out > $out_dir/8_NVMe_consume.out