Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support CORE and non-CORE mode in one #532

Merged
merged 14 commits into from
Apr 29, 2024
Merged

Conversation

cfc4n
Copy link
Member

@cfc4n cfc4n commented Apr 24, 2024

在同一个程序里,同时支持CORE和非CORE两种模式。
新增-b, --btf参数指定BPF字节码加载模式。


In the same program, support both CORE and non-CORE modes at the same time.
Add the -b, --btf parameter to specify the BPF bytecode loading mode.

  • 0:auto
  • 1:core
  • 2:non-core

TODO

  • Check if the product built on 22.04 can run smoothly on ubuntu 20.04 (both core and non-core mode).
  • check if the product built on 22.04 can run smoothly on android (amd64\arm64)

…ndroid

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n added enhancement New feature or request improve labels Apr 24, 2024
cfc4n and others added 4 commits April 25, 2024 00:31
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
…ng cross-compilation used `make nocore`

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Co-authored-by: tianzhenxiong <2096067752@qq.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
In the Ubuntu 22.04 image of GitHub Action, the system kernel is not the default kernel version in APT.

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n force-pushed the core-noncore-in-one branch 12 times, most recently from 2fa0601 to 8af967e Compare April 28, 2024 16:24
In the environment initialization phase of GitHub Actin, decompress the kernel source code package and run the `make oldconfig` operation

Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
Signed-off-by: CFC4N <cfc4n.cs@gmail.com>
@cfc4n cfc4n merged commit a028ce7 into master Apr 29, 2024
6 checks passed
@cfc4n cfc4n deleted the core-noncore-in-one branch April 29, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant