arm/kprobes: Fix kretprobe test to check correct counter
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 4 Nov 2017 04:30:52 +0000 (13:30 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Nov 2017 10:25:14 +0000 (11:25 +0100)
commit4650209b166789182657c8eb0612cecd5b54d591
tree411d18880cf9767f53d406bdc9a346fbc0a02617
parent15bcdc9477b03eb035052412c3a087e11e855e76
arm/kprobes: Fix kretprobe test to check correct counter

test_kretprobe() uses jprobe_func_called at the
last test, but it must check kretprobe_handler_called.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jon Medhurst <tixy@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/150976985182.2012.15495311380682779381.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/probes/kprobes/test-core.c