]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Add test cases for stack consuming instructions
authorJon Medhurst (Tixy) <tixy@linaro.org>
Mon, 5 Jan 2015 11:29:29 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:16 +0000 (16:10 +0000)
commit3dfb34e0a15b80151ace487d103ba8c21e096a6a
treebd73938c1d1980917b7eaa1d8f77ec8bb06d8f5d
parent9e4243cae16b3663f8b8090741e2b3e4595e92f3
ARM: kprobes: Add test cases for stack consuming instructions

These have extra 'checker' functions associated with them so lets make
sure those get covered by testing. As they may create uninitialised
space on the stack we also update the test code to ensure such space is
consistent between test runs. This is done by disabling interrupts in
setup_test_context().

Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/probes/kprobes/test-arm.c
arch/arm/probes/kprobes/test-core.c
arch/arm/probes/kprobes/test-thumb.c