diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-05-07 08:41:13 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-05-12 01:07:17 +0300 |
commit | 37f05601eabc29f82c03b461a22d8fafacd736d2 (patch) | |
tree | 039736ac90f801217d5bb3a0689d535186f6762a /mm/kmemleak.c | |
parent | f4cceb783169c9f0639ce7c648a6a5de83c00dc4 (diff) | |
download | linux-37f05601eabc29f82c03b461a22d8fafacd736d2.tar.xz |
bpftool: Strip const/volatile/restrict modifiers from .bss and .data vars
Similarly to .rodata, strip any const/volatile/restrict modifiers when
generating BPF skeleton. They are not helpful and actually just get in the way.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210507054119.270888-2-andrii@kernel.org
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions