-
Notifications
You must be signed in to change notification settings - Fork 5
libbpf: optimize the redundant code in the bpf_object__init_user_btf_maps() function. #6208
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
libbpf: optimize the redundant code in the bpf_object__init_user_btf_maps() function. #6208
Conversation
|
Upstream branch: e758657 |
4d1f3ab to
7ba9a34
Compare
|
Upstream branch: ff88079 |
62515aa to
39f880d
Compare
7ba9a34 to
2991dd5
Compare
|
Upstream branch: f9db3a3 |
39f880d to
e7fd02e
Compare
2991dd5 to
583dec7
Compare
|
Upstream branch: 8842732 |
e7fd02e to
ec46ce3
Compare
583dec7 to
e224139
Compare
|
Upstream branch: 23f852d |
…maps() function. In the elf_sec_data() function, the input parameter 'scn' will be evaluated. If it is NULL, then it will directly return NULL. Therefore, the return value of the elf_sec_data() function already takes into account the case where the input parameter scn is NULL. Therefore, subsequently, the code only needs to check whether the return value of the elf_sec_data() function is NULL. Signed-off-by: Jianyun Gao <[email protected]> Acked-by: Yonghong Song <[email protected]>
ec46ce3 to
bc1ccdb
Compare
e224139 to
1f11231
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1015363 irrelevant now. Closing PR. |
Pull request for series with
subject: libbpf: optimize the redundant code in the bpf_object__init_user_btf_maps() function.
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1015363