diff options
author | Wang Nan <wangnan0@huawei.com> | 2015-01-05 19:29:21 +0800 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-01-13 16:10:06 +0000 |
commit | 6624cf651f1a14363d0385f36dc255d304ac7ebb (patch) | |
tree | 38cb38d33f5faa96e36814caa3fa63bfe322c193 /arch/arm/include | |
parent | 83803d97dae1eaf6850a45ef8ee179cc66e147dc (diff) | |
download | linux-stable-6624cf651f1a14363d0385f36dc255d304ac7ebb.tar.gz linux-stable-6624cf651f1a14363d0385f36dc255d304ac7ebb.tar.bz2 linux-stable-6624cf651f1a14363d0385f36dc255d304ac7ebb.zip |
ARM: kprobes: collects stack consumption for store instructions
This patch uses the previously introduced checker functionality on
store instructions to record their stack consumption information to
arch_probes_insn.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Reviewed-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/probes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/probes.h b/arch/arm/include/asm/probes.h index 806cfe622a9e..6026deb28794 100644 --- a/arch/arm/include/asm/probes.h +++ b/arch/arm/include/asm/probes.h @@ -38,6 +38,7 @@ struct arch_probes_insn { probes_check_cc *insn_check_cc; probes_insn_singlestep_t *insn_singlestep; probes_insn_fn_t *insn_fn; + int stack_space; }; #endif |