diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2021-11-23 05:27:31 +0530 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-11-30 15:48:14 -0800 |
commit | d4efb170861827290f7f571020001a60d001faaf (patch) | |
tree | 6d7c172b35a5e6a707c5f6d7091e3fe851ab5e07 /tools/perf/scripts/python/compaction-times.py | |
parent | b98057ef730ad91b35d96658d9d8a306b618b8e5 (diff) |
bpf: Change bpf_kallsyms_lookup_name size type to ARG_CONST_SIZE_OR_ZERO
Andrii mentioned in [0] that switching to ARG_CONST_SIZE_OR_ZERO lets
user avoid having to prove that string size at runtime is not zero and
helps with not having to supress clang optimizations.
[0]: https://lore.kernel.org/bpf/CAEf4BzZa_vhXB3c8atNcTS6=krQvC25H7K7c3WWZhM=27ro=Wg@mail.gmail.com
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions