diff options
| author | Ihor Solodrai <ihor.solodrai@linux.dev> | 2026-05-26 01:39:48 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2026-05-29 00:58:13 +0300 |
| commit | 5e9099d8ff24ec32aa5af872a4d84d086bd70579 (patch) | |
| tree | 2b5d551fe2ba2bac97e77180accc788ede78f05a /include/linux/debugobjects.h | |
| parent | fad3021faf7b0b64e9daea41c5662b65c8ad7379 (diff) | |
| download | linux-5e9099d8ff24ec32aa5af872a4d84d086bd70579.tar.xz | |
bpf: Cache build IDs in sleepable stackmap path
Stack traces often contain adjacent IPs from the same VMA or from
different VMAs backed by the same ELF file. Cache the last successfully
parsed build id together with the resolved VMA range and backing file
so the sleepable build id path can avoid repeated VMA locking and file
parsing in common cases.
Suggested-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Mykyta Yatsenko <yatsenko@meta.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260525223948.1920986-4-ihor.solodrai@linux.dev
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
