summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorYuan Chen <chenyuan@kylinos.cn>2025-08-29 07:11:06 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2025-09-02 17:20:54 +0200
commit70f32a10ad423fd19e22e71d05d0968e61316278 (patch)
tree69f780f449e3b779278dce2fe5f9111b863a5f56 /scripts/lib/kdoc/kdoc_re.py
parent98857d111c53954aa038fcbc4cf48873e4240f7c (diff)
bpftool: Refactor kernel config reading into common helper
Extract the kernel configuration file parsing logic from feature.c into a new read_kernel_config() function in common.c. This includes: 1. Moving the config file handling and option parsing code 2. Adding required headers and struct definition 3. Keeping all existing functionality The refactoring enables sharing this logic with other components while maintaining current behavior. This will be used by subsequent patches that need to check kernel config options. Signed-off-by: Yuan Chen <chenyuan@kylinos.cn> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Quentin Monnet <qmo@kernel.org> Acked-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20250829061107.23905-2-chenyuan_fl@163.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions