diff options
| author | Andrii Nakryiko <[email protected]> | 2020-08-18 14:33:53 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-18 17:16:15 -0700 |
| commit | 109cea5a594f921632ca599b385aaa0575971045 (patch) | |
| tree | 58f00ffee0aeb132a3db6ccb550902d1b4054130 /tools/perf/scripts/python | |
| parent | bb180fb2401dfed0ba85699064e60d62af351ff9 (diff) | |
libbpf: Sanitize BPF program code for bpf_probe_read_{kernel, user}[_str]
Add BPF program code sanitization pass, replacing calls to BPF
bpf_probe_read_{kernel,user}[_str]() helpers with bpf_probe_read[_str](), if
libbpf detects that kernel doesn't support new variants.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions