iovisor / iovisor/bcc

support frontends use vmlinux.h, and python tool use vmlinux.h

Open
#5,290 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Could ClangLoader::parse, ClangLoader::do_compile, KBuildHelper::get_flags all switch to use vmlinux.h, instead of kernel headers?
And python bcc tool also use vmlinux.h which dump from /sys/kernel/btf/vmlinux ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate ClangLoader::parse, ClangLoader::do_compile, KBuildHelper::get_flags, and the Python BCC tools that currently use kernel headers. Start by tracing how these entry points obtain headers and inspect the handling of /sys/kernel/btf/vmlinux. Done means the named frontends and Python tools use the dumped vmlinux.h as requested, with the relevant existing checks still passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, python
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.