History log of /linux/tools/testing/selftests/verification/test.d/functions (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0b1b4a3d 05-Dec-2025 Linus Torvalds <torvalds@linux-foundation.org>

Merge tag 'trace-rv-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull runtime verifier updates from Steven Rostedt:

- Adapt the ftracetest script to be run from a diffe

Merge tag 'trace-rv-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull runtime verifier updates from Steven Rostedt:

- Adapt the ftracetest script to be run from a different folder

This uses the already existing OPT_TEST_DIR but extends it further to
run independent tests, then add an --rv flag to allow using the
script for testing RV (mostly) independently on ftrace.

- Add basic RV selftests in selftests/verification for more validations

Add more validations for available/enabled monitors and reactors.
This could have caught the bug introducing kernel panic solved above.
Tests use ftracetest.

- Convert react() function in reactor to use va_list directly

Use a central helper to handle the variadic arguments. Clean up
macros and mark functions as static.

- Add lockdep annotations to reactors to have lockdep complain of
errors

If the reactors are called from improper context. Useful to develop
new reactors. This highlights a warning in the panic reactor that is
related to the printk subsystem and not to RV.

- Convert core RV code to use lock guards and __free helpers

This completely removes goto statements.

- Fix compilation if !CONFIG_RV_REACTORS

Fix the warning by keeping LTL monitor variable as always static.

* tag 'trace-rv-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
rv: Fix compilation if !CONFIG_RV_REACTORS
rv: Convert to use __free
rv: Convert to use lock guard
rv: Add explicit lockdep context for reactors
rv: Make rv_reacting_on() static
rv: Pass va_list to reactors
selftests/verification: Add initial RV tests
selftest/ftrace: Generalise ftracetest to use with RV

show more ...


Revision tags: v6.18, v6.18-rc7, v6.18-rc6, v6.18-rc5, v6.18-rc4, v6.18-rc3, v6.18-rc2
# 0c0cd931 17-Oct-2025 Gabriele Monaco <gmonaco@redhat.com>

selftests/verification: Add initial RV tests

Add a series of tests to validate the RV tracefs API and basic
functionality.

* available monitors:
Check that all monitors (from the monitors folde

selftests/verification: Add initial RV tests

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 <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20251017115203.140080-3-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>

show more ...