diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-01-13 02:54:33 +0900 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-12 17:33:38 -0800 |
commit | 66665ad2f1023d3ffb0c12eea9e0a6d0b613ecb3 (patch) | |
tree | 2ccb32066d1acf7d5d9f56d881cd80133dba8f15 /kernel/module.c | |
parent | b4da3340eae2c3932144be3e81ccfd4e424d87b7 (diff) | |
download | linux-66665ad2f1023d3ffb0c12eea9e0a6d0b613ecb3.tar.gz linux-66665ad2f1023d3ffb0c12eea9e0a6d0b613ecb3.tar.bz2 linux-66665ad2f1023d3ffb0c12eea9e0a6d0b613ecb3.zip |
tracing/kprobe: bpf: Compare instruction pointer with original one
Compare instruction pointer with original one on the
stack instead using per-cpu bpf_kprobe_override flag.
This patch also consolidates reset_current_kprobe() and
preempt_enable_no_resched() blocks. Those can be done
in one place.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions