Thread (4 messages) 4 messages, 4 authors, 2019-12-19

Re: [PATCH bpf-next] selftests/bpf: Fix test_attach_probe

From: Yonghong Song <hidden>
Date: 2019-12-19 03:45:09
Also in: bpf


On 12/18/19 6:04 PM, Alexei Starovoitov wrote:
Fix two issues in test_attach_probe:
1. it was not able to parse /proc/self/maps beyond the first line,
    since %s means parse string until white space.
2. offset has to be accounted for otherwise uprobed address is incorrect.

Fixes: 1e8611bbdfc9 ("selftests/bpf: add kprobe/uprobe selftests")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help