aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2020-09-21 13:12:24 +0100
committerAlexei Starovoitov <[email protected]>2020-09-21 15:00:41 -0700
commita2bbe7cc90755283f1db719eb757616cefd2a9fd (patch)
treeb78a59c19e7c238ad4819cba514fa5a290adcc89 /tools/perf/scripts/python
parentfeec70401672bd9b0268ae59ec5efd15d86ae138 (diff)
bpf: Set meta->raw_mode for pointers close to use
If we encounter a pointer to memory, we set meta->raw_mode depending on the type of memory we point at. What isn't obvious is that this information is only used when the next memory size argument is encountered. Move the assignment closer to where it's used, and add a comment that explains what is going on. Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions