diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2017-07-08 00:27:31 +0530 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-07-09 07:46:20 -0400 |
commit | f7181e5aaab58d81c5453887e39a1e1041f6bb1a (patch) | |
tree | 08865e07b556ae882496175f810d3af345424286 /mm/swapfile.c | |
parent | fca18a47cf3eb8425ec19c2dfc374f3d04f5219f (diff) | |
download | op-kernel-dev-f7181e5aaab58d81c5453887e39a1e1041f6bb1a.zip op-kernel-dev-f7181e5aaab58d81c5453887e39a1e1041f6bb1a.tar.gz |
selftests/ftrace: Update multiple kprobes test for powerpc
KPROBES_ON_FTRACE is only available on powerpc64le. Update comment to
clarify this.
Also, we should use an offset of 8 to ensure that the probe does not
fall on ftrace location. The current offset of 4 will fall before the
function local entry point and won't fire, while an offset of 12 or 16
will fall on ftrace location. Offset 8 is currently guaranteed to not be
the ftrace location.
Link: http://lkml.kernel.org/r/3d32e8fa076070e83527476fdfa3a747bb9a1a3a.1499453040.git.naveen.n.rao@linux.vnet.ibm.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions