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

[FEATURE] Support env configs as option in bpftime cli tool #331

Open
yunwei37 opened this issue Aug 14, 2024 · 0 comments
Open

[FEATURE] Support env configs as option in bpftime cli tool #331

yunwei37 opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yunwei37
Copy link
Member

Is your feature request related to a problem? Please describe.

Currently the runtime has a lot of configurations, see:

https://eunomia.dev/bpftime/documents/usage/#configurations-for-runtime

However, the cli tool doesn't support them.

Describe the solution you'd like

We want a clear and easy way to let user know there is config for bpftime, in cli options and help info:

For example,

bpftime load --memory-size=1024 example/malloc

is equal to set env var BPFTIME_SHM_MEMORY_MB=1024

The help info should also add link to https://eunomia.dev/bpftime , e.g.

 --no-jit           Same as BPFTIME_DISABLE_JIT, disable JIT and use intepreter

For more infomation and options, please see https://eunomia.dev/bpftime
@yunwei37 yunwei37 added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant