mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Add a series of tests to validate the RV tracefs API and basic
functionality.
* available monitors:
Check that all monitors (from the monitors folder) appear as
available and have a description. Works with nested monitors.
* enable/disable:
Enable and disable all monitors and validate both the enabled file
and the enabled_monitors. Check that enabling container monitors
enables all nested monitors.
* reactors:
Set all reactors and validate the setting, also for nested monitors.
* wwnr with printk:
wwnr is broken on purpose, run it with a load and check that the
printk reactor works. Also validate disabling reacting_on or
monitoring_on prevents reactions.
These tests use the ftracetest suite.
Acked-by: Nam Cao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gabriele Monaco <[email protected]>
9 lines
214 B
Bash
Executable File
9 lines
214 B
Bash
Executable File
#!/bin/sh -e
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# ftracetest-ktap: Wrapper to integrate ftracetest with the kselftest runner
|
|
#
|
|
# Copyright (C) Arm Ltd., 2023
|
|
|
|
../ftrace/ftracetest -K -v --rv ../verification
|