selftests: ftrace: Add a testcase for probepoint
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 17 Mar 2018 12:40:31 +0000 (21:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:38 +0000 (07:50 +0200)
commit9cf1e7f6bdd0a2bec6299b5830a32aa8a847cbe3
treedeb07fb49c5d7ccd80432af75bec44b5b1a273e4
parentc44ecab27c3471a2fa81f3a3fdea2bfcd5c7c171
selftests: ftrace: Add a testcase for probepoint

[ Upstream commit dfa453bc90eca0febff33c8d292a656e53702158 ]

Add a testcase for probe point definition. This tests
symbol, address and symbol+offset syntax. The offset
must be positive and smaller than UINT_MAX.

Link: http://lkml.kernel.org/r/152129043097.31874.14273580606301767394.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc [new file with mode: 0644]