diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-07-14 02:07:43 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-14 02:08:44 +0200 |
commit | 8afb259a9840fa953efb9a7835356a083ac8ec74 (patch) | |
tree | 79a7e9cabc285400476b921dbdaa4bba220fa46e /scripts | |
parent | Merge branch 'trace_printk-banner-remove' (diff) | |
parent | tools/bpftool: Strip away modifiers from global variables (diff) | |
download | linux-8afb259a9840fa953efb9a7835356a083ac8ec74.tar.xz linux-8afb259a9840fa953efb9a7835356a083ac8ec74.zip |
Merge branch 'strip-mods-from-global-vars'
Andrii Nakryiko says:
====================
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
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions