Message ID | 20200713232409.3062144-1-andriin@fb.com |
---|---|
Headers | show |
Series | Strip away modifiers from BPF skeleton global variables | expand |
On Mon, Jul 13, 2020 at 4:25 PM Andrii Nakryiko <andriin@fb.com> wrote: > > Fix bpftool logic of stripping away const/volatile modifiers for all global > variables during BPF skeleton generation. See patch #1 for details on when > existing logic breaks and why it's important. Support special .strip_mods=true > mode in btf_dump__emit_type_decl. > > Recent example of when this has caused problems can be found in [0]. > > [0] https://github.com/iovisor/bcc/pull/2994#issuecomment-650588533 Applied. Thanks