summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZijian Zhang <zijianzhang@bytedance.com>2024-11-07 01:25:19 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2024-11-07 03:01:53 +0300
commit5d609ba262475db450ba69b8e8a557bd768ac07a (patch)
tree74808609f30b5ff5386490d1a11549480913a61d /tools/perf/scripts/python/exported-sql-viewer.py
parent15ab0548e3107665c34579ae523b2b6e7c22082a (diff)
downloadlinux-5d609ba262475db450ba69b8e8a557bd768ac07a.tar.xz
bpf, sockmap: Several fixes to bpf_msg_pop_data
Several fixes to bpf_msg_pop_data, 1. In sk_msg_shift_left, we should put_page 2. if (len == 0), return early is better 3. pop the entire sk_msg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In sk_msg_shift_left, after shifting, i has already pointed to the next element. Addtional sk_msg_iter_var_next may result in BUG. Fixes: 7246d8ed4dcc ("bpf: helper to pop data from messages") Signed-off-by: Zijian Zhang <zijianzhang@bytedance.com> Reviewed-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/20241106222520.527076-8-zijianzhang@bytedance.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions