OSDN Git Service

ARM: kprobes: collects stack consumption for store instructions
authorWang Nan <wangnan0@huawei.com>
Mon, 5 Jan 2015 11:29:21 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:06 +0000 (16:10 +0000)
commit6624cf651f1a14363d0385f36dc255d304ac7ebb
tree38cb38d33f5faa96e36814caa3fa63bfe322c193
parent83803d97dae1eaf6850a45ef8ee179cc66e147dc
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>
arch/arm/include/asm/probes.h
arch/arm/probes/decode.c
arch/arm/probes/kprobes/Makefile
arch/arm/probes/kprobes/actions-arm.c
arch/arm/probes/kprobes/actions-thumb.c
arch/arm/probes/kprobes/checkers-arm.c [new file with mode: 0644]
arch/arm/probes/kprobes/checkers-common.c [new file with mode: 0644]
arch/arm/probes/kprobes/checkers-thumb.c [new file with mode: 0644]
arch/arm/probes/kprobes/checkers.h [new file with mode: 0644]