aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2019-11-06 17:46:40 -0800
committerAlexei Starovoitov <[email protected]>2019-11-06 21:52:52 -0800
commit85d31dd07002315c0d1816543fdc392c8cc6b73a (patch)
tree432a2b8f89df9f7b999103aedc905a889664d267 /scripts/gdb/linux/tasks.py
parented578021210e14f15a654c825fba6a700c9a39a7 (diff)
bpf: Account for insn->off when doing bpf_probe_read_kernel
In the bpf interpreter mode, bpf_probe_read_kernel is used to read from PTR_TO_BTF_ID's kernel object. It currently missed considering the insn->off. This patch fixes it. Fixes: 2a02759ef5f8 ("bpf: Add support for BTF pointers to interpreter") Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions