diff options
| author | Alexei Starovoitov <[email protected]> | 2023-04-03 21:50:22 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-04-04 16:57:03 -0700 |
| commit | 7d64c513284408fee5178a0953a686e9410f2399 (patch) | |
| tree | f8d95ae0e4083338871112b5312d4310f04c86be /tools/perf/scripts/python/task-analyzer.py | |
| parent | 8fc59c26d212c23d6fd5ad47a10651cf72d83b4a (diff) | |
bpf: Invoke btf_struct_access() callback only for writes.
Remove duplicated if (atype == BPF_READ) btf_struct_access() from
btf_struct_access() callback and invoke it only for writes. This is
possible to do because currently btf_struct_access() custom callback
always delegates to generic btf_struct_access() helper for BPF_READ
accesses.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions