selftests: ftrace: Add a testcase for types of kprobe event
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 16 Nov 2016 08:14:50 +0000 (17:14 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 22 Nov 2016 21:08:49 +0000 (16:08 -0500)
commit153aae5f996d4cb3e8a64990b6b09cde4a1529b0
tree5a4190e5c7591b0b5293711bb6c21061cd2e4e09
parent60c1afbf10528f646a6fcae1a2c404d216e594d5
selftests: ftrace: Add a testcase for types of kprobe event

Add a testcase for types of kprobe event. This checks
kprobe event can accept and correctly expressed the
arguments typed as s32, u32, x32 and bitfield.

Here is the test result.
  -----
  # ./ftracetest test.d/kprobe/kprobe_args_type.tc
  === Ftrace unit tests ===
  [1] Kprobes event arguments with types [PASS]

  # of passed:  1
  # of failed:  0
  # of unresolved:  0
  # of untested:  0
  # of unsupported:  0
  # of xfailed:  0
  # of undefined(test bug):  0
  -----

Link: http://lkml.kernel.org/r/147928409063.22982.3499119203875115458.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_type.tc [new file with mode: 0644]