mirror_ubuntu-kernels/tools/testing/selftests/user_events
Beau Belgrave 8ed99af4a2 selftests/user_events: Fix to unmount tracefs when test created mount
Fix to unmount tracefs if the self-test mounted it to allow testing.
If tracefs was already mounted, this does nothing.

Suggested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/all/29fce076-746c-4650-8358-b4e0fa215cf7@sirena.org.uk/
Fixes: a06023a8f7 ("selftests/user_events: Fix failures when user_events is not installed")

Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2023-09-18 11:04:52 -06:00
..
abi_test.c selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00
config selftests: user_events: create test-specific Kconfig fragments 2023-09-11 17:06:48 -06:00
dyn_test.c selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00
ftrace_test.c selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00
Makefile selftests/user_events: Reenable build 2023-08-16 10:29:57 -06:00
perf_test.c selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00
settings user_events: Add self-test for ftrace integration 2022-02-10 22:37:47 -05:00
user_events_selftests.h selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00