[PATCH v6 2/2] selftests/ftrace: Add new test case which checks non unique symbol

2023-10-20 Thread Francis Laniel
If name_show() is non unique, this test will try to install a kprobe on this function which should fail returning EADDRNOTAVAIL. On kernel where name_show() is not unique, this test is skipped. Cc: sta...@vger.kernel.org Signed-off-by: Francis Laniel --- .../ftrace/test.d/kprobe

[PATCH v5 2/2] selftests/ftrace: Add new test case which checks non unique symbol

2023-10-18 Thread Francis Laniel
If name_show() is non unique, this test will try to install a kprobe on this function which should fail returning EADDRNOTAVAIL. On kernel where name_show() is not unique, this test is skipped. Signed-off-by: Francis Laniel --- .../ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc | 13