diff options
author | 2024-03-06 19:12:28 -0800 | |
---|---|---|
committer | 2024-03-07 14:58:48 -0800 | |
commit | fe5064158c561b807af5708c868f6c7cb5144e01 (patch) | |
tree | afd0ca6870d3abf41b811e706c3f788057183e9b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpftool: rename is_internal_mmapable_map into is_mmapable_map (diff) | |
download | linux-rng-fe5064158c561b807af5708c868f6c7cb5144e01.tar.xz linux-rng-fe5064158c561b807af5708c868f6c7cb5144e01.zip |
bpf: Tell bpf programs kernel's PAGE_SIZE
vmlinux BTF includes all kernel enums.
Add __PAGE_SIZE = PAGE_SIZE enum, so that bpf programs
that include vmlinux.h can easily access it.
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20240307031228.42896-7-alexei.starovoitov@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions