mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 18:25:57 +01:00
Document the minimal aarch64 boot. Rename -c to -B for uniformity with -b. Add help for ./run and ./build options.
8 lines
293 B
Bash
Executable File
8 lines
293 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
time ./run -n -e 'init=/poweroff.out' -- -trace exec_tb,file=trace
|
|
time ./qemu/scripts/simpletrace.py buildroot/output.x86_64~/build/host-qemu-custom/trace-events-all trace >trace.txt
|
|
wc -l trace.txt
|
|
sed '/0x1000000/q' trace.txt >trace-boot.txt
|
|
wc -l trace-boot.txt
|