selftests/user_events: Test multi-format events
authorBeau Belgrave <beaub@linux.microsoft.com>
Thu, 22 Feb 2024 00:18:06 +0000 (00:18 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 18 Mar 2024 14:13:12 +0000 (10:13 -0400)
commitbcb7bdcc17e0e8d79b19748d912ae6991f087345
tree268ecded211b21be2accfb12d1e72eecc68e6ec8
parent64805e4039f1687b9857034123a9ec10bb9abddd
selftests/user_events: Test multi-format events

User_events now has multi-format events which allow for the same
register name, but with different formats. When this occurs, different
tracepoints are created with unique names.

Add a new test that ensures the same name can be used for two different
formats. Ensure they are isolated from each other and that name and arg
matching still works if yet another register comes in with the same
format as one of the two.

Link: https://lore.kernel.org/linux-trace-kernel/20240222001807.1463-4-beaub@linux.microsoft.com
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/testing/selftests/user_events/abi_test.c