-
Notifications
You must be signed in to change notification settings - Fork 143
Pass external callchain entry to get_perf_callchain #10036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
Conversation
From bpf stack map, we want to use our own buffers to avoid unnecessary copy, so let us pass it directly. BPF will use this in the next patch. Signed-off-by: Tao Chen <[email protected]>
As Alexei noted, get_perf_callchain() return values may be reused if a task is preempted after the BPF program enters migrate disable mode. Drawing on the per-cpu design of bpf_bprintf_buffers, per-cpu BPF callchain entry is used here. Signed-off-by: Tao Chen <[email protected]>
Upstream branch: 7361c86 |
AI reviewed your patch. Please fix the bug or email reply why it's not a bug. In-Reply-To-Subject: |
Forwarding comment 3419821144 via email |
Pull request for series with
subject: Pass external callchain entry to get_perf_callchain
version: 3
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1013305