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)

@cfc4n cfc4n added enhancement New feature or request improve labels Apr 24, 2024
@cfc4n cfc4n force-pushed the core-noncore-in-one branch from 2a72d38 to 5817625 Compare April 27, 2024 10:36
cfc4n added 2 commits April 27, 2024 18:48
In the Ubuntu 22.04 image of GitHub Action, the system kernel is not the default kernel version in APT.

Signed-off-by: CFC4N <[email protected]>
@cfc4n cfc4n force-pushed the core-noncore-in-one branch from 5ad0c6a to 1f1682d Compare April 27, 2024 12:05
@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 <[email protected]>
@cfc4n cfc4n force-pushed the core-noncore-in-one branch from 8af967e to 9fce4d5 Compare April 28, 2024 16:30
@cfc4n cfc4n force-pushed the core-noncore-in-one branch from 907e58b to 14a0455 Compare April 29, 2024 00:58
@cfc4n cfc4n force-pushed the core-noncore-in-one branch from 8826649 to 860a85a Compare April 29, 2024 14:56
@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