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)
commit8d257e95a9e643518e72232bf852b054a3d06c95
treebd73938c1d1980917b7eaa1d8f77ec8bb06d8f5d
parenta0266c214fab21371a499e6ab1c9385cc6589189
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