diff options
author | 2023-10-05 21:57:12 +0000 | |
---|---|---|
committer | 2023-10-17 15:07:19 -0600 | |
commit | cf5a103c98a6fb9ee3164334cb5502df6360749b (patch) | |
tree | e889b6e33c670b89edd9e7895e541b090d92a378 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: Fix wrong TARGET in kselftest top level Makefile (diff) | |
download | wireguard-linux-cf5a103c98a6fb9ee3164334cb5502df6360749b.tar.xz wireguard-linux-cf5a103c98a6fb9ee3164334cb5502df6360749b.zip |
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: 60b1af8de8c1 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions