]> 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)
commitf958c0b24853272aacdfa56b5a4a0b8fa1ddd750
treebd73938c1d1980917b7eaa1d8f77ec8bb06d8f5d
parent23e9edb979bcf6b724ccf7958be79b195de04468
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