aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2022-01-14 13:58:36 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2022-01-19 01:21:29 +0100
commitd400a6cf1c8a57cdf10f35220ead3284320d85ff (patch)
treea88683f17fd5614cf5db1537a18a8ff3701a3229 /tools/perf/scripts/python
parentbe80a1d3f9dbe5aee79a325964f7037fe2d92f30 (diff)
bpf: Mark PTR_TO_FUNC register initially with zero offset
Similar as with other pointer types where we use ldimm64, clear the register content to zero first, and then populate the PTR_TO_FUNC type and subprogno number. Currently this is not done, and leads to reuse of stale register tracking data. Given for special ldimm64 cases we always clear the register offset, make it common for all cases, so it won't be forgotten in future. Fixes: 69c087ba6225 ("bpf: Add bpf_for_each_map_elem() helper") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions