linux-imx/tools/testing/selftests/user_events
Beau Belgrave cf5a103c98 selftests/user_events: Fix abi_test for BE archs
The abi_test currently uses a long sized test value for enablement
checks. On LE this works fine, however, on BE this results in inaccurate
assert checks due to a bit being used and assuming it's value is the
same on both LE and BE.

Use int type for 32-bit values and long type for 64-bit values to ensure
appropriate behavior on both LE and BE.

Fixes: 60b1af8de8 ("tracing/user_events: Add ABI self-test")
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2023-10-17 15:07:19 -06:00
..
abi_test.c selftests/user_events: Fix abi_test for BE archs 2023-10-17 15:07:19 -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_selftests.h selftests/user_events: Fix to unmount tracefs when test created mount 2023-09-18 11:04:52 -06:00