CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 04:35:14 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/libbpf/libbpf.git
etag: W/"fd94e06c7ac1662f8d814c951eee0432"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=EtJIK9UIQXj5VaKmCX1cELUzhOPCqP53UuwypBay6nFeint%2BJFTf1C7jIUfxTdenU1FlD129MJnNUJkJFg6GO7XVOgbX8vhUqEqxajbOzmmURMobDgnvB%2Ba79Y5oQw%2B2AmQGtVKZc4V5Q7bWHBL7xHtprMQPRW9bVfH8Xh7cuzS7oHVyVMu6yzhxK7VTgEt%2FU%2Fk6qQFaqgm%2FvwZW5Jz%2FAuR0o7Gij2ggPG%2FLsIkBjqsWtbu%2BP7fSG%2B5SG%2F8zKODXRJRqOkrGPctReHRp3vV5DQ%3D%3D--yZ2PTp4T8usSwrE0--W7nd2BFuMvCi6r0pTdANxQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.724978986.1753331713; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 04:35:13 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 04:35:13 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E404:124FF4:12F12F7:170B714:6881B801
libbpf: Introduce 'btf_custom_path' to 'bpf_obj_open_opts' · libbpf/libbpf@4920031 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 456
Commit 4920031
libbpf: Introduce 'btf_custom_path' to 'bpf_obj_open_opts'
btf_custom_path allows developers to load custom BTF which libbpf will
subsequently use for CO-RE relocation instead of vmlinux BTF.
Having btf_custom_path in bpf_object_open_opts one can directly use the
skeleton's <objname>_bpf__open_opts() API to pass in the btf_custom_path
parameter, as opposed to using bpf_object__load_xattr() which is slated to be
deprecated ([0]).
This work continues previous work started by another developer ([1]).
[0] https://lore.kernel.org/bpf/CAEf4BzbJZLjNoiK8_VfeVg_Vrg=9iYFv+po-38SMe=UzwDKJ=Q@mail.gmail.com/#t
[1] https://yhbt.net/lore/all/CAEf4Bzbgw49w2PtowsrzKQNcxD4fZRE6AKByX-5-dMo-+oWHHA@mail.gmail.com/
Signed-off-by: Shuyi Cheng <chengshuyi@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1626180159-112996-2-git-send-email-chengshuyi@linux.alibaba.com1 parent 8fa50e8 commit 4920031Copy full SHA for 4920031
Expand file treeCollapse file tree
2 files changed
+32
-5
lines changed+24-4Lines changed: 24 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
501 | 505 |
| |
502 | 506 |
| |
503 | 507 |
| |
| |||
2645 | 2649 |
| |
2646 | 2650 |
| |
2647 | 2651 |
| |
2648 |
| - | |
2649 |
| - | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
2650 | 2656 |
| |
2651 | 2657 |
| |
2652 | 2658 |
| |
| |||
7596 | 7602 |
| |
7597 | 7603 |
| |
7598 | 7604 |
| |
7599 |
| - | |
| 7605 | + | |
7600 | 7606 |
| |
7601 | 7607 |
| |
7602 | 7608 |
| |
| |||
7627 | 7633 |
| |
7628 | 7634 |
| |
7629 | 7635 |
| |
| 7636 | + | |
| 7637 | + | |
| 7638 | + | |
| 7639 | + | |
| 7640 | + | |
| 7641 | + | |
| 7642 | + | |
| 7643 | + | |
| 7644 | + | |
| 7645 | + | |
| 7646 | + | |
| 7647 | + | |
| 7648 | + | |
7630 | 7649 |
| |
7631 | 7650 |
| |
7632 | 7651 |
| |
| |||
8097 | 8116 |
| |
8098 | 8117 |
| |
8099 | 8118 |
| |
8100 |
| - | |
| 8119 | + | |
8101 | 8120 |
| |
8102 | 8121 |
| |
8103 | 8122 |
| |
| |||
8744 | 8763 |
| |
8745 | 8764 |
| |
8746 | 8765 |
| |
| 8766 | + | |
8747 | 8767 |
| |
8748 | 8768 |
| |
8749 | 8769 |
| |
|
+8-1Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 |
| |
98 |
| - | |
| 105 | + | |
99 | 106 |
| |
100 | 107 |
| |
101 | 108 |
| |
|
You can’t perform that action at this time.
0 commit comments