aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2022-08-16 23:17:51 -0700
committerAlexei Starovoitov <[email protected]>2022-08-18 17:06:13 -0700
commit2b5a2ecbfdc507af3f2f032bfe7366fba4dabff0 (patch)
tree91a4dd886dbab3517efbf91ca071b97925c11d41 /tools/perf/scripts/python
parent40cd308ea57cf68ad67f912b98fca570d107cca0 (diff)
bpf: Initialize the bpf_run_ctx in bpf_iter_run_prog()
The bpf-iter-prog for tcp and unix sk can do bpf_setsockopt() which needs has_current_bpf_ctx() to decide if it is called by a bpf prog. This patch initializes the bpf_run_ctx in bpf_iter_run_prog() for the has_current_bpf_ctx() to use. Acked-by: Andrii Nakryiko <[email protected]> Reviewed-by: Stanislav Fomichev <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions