diff options
| author | Alexei Starovoitov <[email protected]> | 2019-12-18 18:04:42 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-12-19 16:14:08 +0100 |
| commit | 580205dd4fe800b1e95be8b6df9e2991f975a8ad (patch) | |
| tree | 839332253b6b6970c1f4f128b0a335c974fb7226 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 12dd14b230b3c742b80272ecb8a83cdf824625ca (diff) | |
selftests/bpf: Fix test_attach_probe
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions