The documentation for kprobe events says that symbol offets can
take both a + and - sign to get to befor and after the symbol address.
But in actuality, the code does not support the minus. This fixes
that issue, and adds a few more selftests to kprobe events.
selftests: ftrace: Add a testcase for probepoint
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.
Signed-off-by: Masami Hiramatsu <firstname.lastname@example.org>
Signed-off-by: Steven Rostedt (VMware) <email@example.com>
1 file changed