Masami Hiramatsu
e527c47081
selftests/ftrace: Remove unneeded per-test init/cleanup ftrace
...
Since ftracetest framework calls initialize_ftrace() right before
each test and after all tests, we don't need to init/cleanup
ftrace for each test case.
Just remove such unneeded init/cleanup code because it can
increase logfile size.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org >
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org >
2018-10-24 14:49:35 -06:00
Masami Hiramatsu
6fc7c4110c
selftests/ftrace: Fix kprobe string testcase to not probe notrace function
...
Fix kprobe string argument testcase to not probe notrace
function. Instead, it probes tracefs function which must
be available with ftrace.
Link: http://lkml.kernel.org/r/153294607107.32740.1664854684396589624.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org >
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org >
2018-07-30 18:41:52 -04:00
Naveen N. Rao
9855c4626c
selftests/ftrace: Add ppc support for kprobe args tests
...
Add powerpc support for the recently added kprobe args tests.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com >
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org >
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org >
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org >
2018-06-07 13:42:14 -06:00
Masami Hiramatsu
5fbdbed797
selftests: ftrace: Add a testcase for string type with kprobe_event
...
Add a testcase for string type with kprobe event.
This tests good/bad syntax combinations and also
the traced data is correct in several way.
Link: http://lkml.kernel.org/r/152129038381.31874.9201387794548737554.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org >
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org >
2018-03-23 12:17:21 -04:00