diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-09-30 00:09:41 +0900 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-10-03 09:27:54 +0900 |
| commit | 313cb5169f1a68d056af6ec37651198c21156e56 (patch) | |
| tree | e763eb182555f4f1d436e9dfa1d4c0e01056cbf2 /tools/perf/scripts/python | |
| parent | 8dd296e4ec19bda8cc954d7a6e2d5a63a395a9a8 (diff) | |
selftests/ftrace: Add persistent ring buffer testcases
Add test cases for persistent ring buffer (reserve_mem= combined
with trace_instance=) and backup instance (trace_instance=backup=boot_map).
These test cases verify:
- persistent-01-reserve-mem: Memory reservation via reserve_mem=
and trace_instance=boot_map@trace. Verifies trace data retention in
the boot_map instance across guest crash/reboot via sysrq-trigger.
- persistent-02-backup-instance: Backup instance creation via
trace_instance=backup=boot_map. Verifies that previous boot trace
log is preserved in the backup instance on the subsequent boot.
These test cases specify '# REBOOT: 1' to enable multi-boot guest
crash/reboot testing with doubled QEMU timeout.
Link: https://lore.kernel.org/all/178649544683.438282.14573895196260214231.stgit@devnote2/
Assisted-by: LLM
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
