summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/boottime/README
AgeCommit message (Collapse)Author
2026-09-30selftests/ftrace: Add generic boot tracing test frameworkMasami Hiramatsu (Google)
Add a generic test framework under tools/testing/selftests/ftrace/boottime/ to verify kernel boot tracing configurations (bootconfig, kernel command-line tracing options, and persistent ring buffers) during early boot. The test runner (run_boottime_test.sh) sources ktap_helpers.sh to generate output in TAP version 13 format. It builds a minimal initramfs with busybox, dynamically resolves test specifications (.bconf for bootconfig, .cmdline for kernel boot parameters, .qemuopts for QEMU options, and # REBOOT: 1 for multi-boot crash/reboot tests with doubled timeout), boots QEMU, and runs corresponding tracefs checker scripts. Link: https://lore.kernel.org/all/178649541846.438282.672153252242971310.stgit@devnote2/ Assisted-by: LLM Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>