-
Notifications
You must be signed in to change notification settings - Fork 232
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
Load eBPF from a file (and not embedded in the YAML) #58
Comments
Do you have a sample program that you use in this manner (from exporter and somewhere else)? |
This is great, but I think this is could be much more useful if we would be able to add multiple file's projects. E.g I have couple of headers with extra helpers that I would love to load and import with the program. |
Actually ignore, me I can import just fine using cflags: e.g
|
I guess this will work for @amitn case too (: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would like to have the option to load eBPF program from a file and not embedded in the YAML.
I found it useful when having the same eBPF shared with a Python bcc then you can have something like:
And:
config.yaml
:ebpf_exporter --config.file=config.yaml
I have created the change amitn/ebpf_exporter@f99ac6f
What I'm not sure about, from usability point of view, is how to handle relative path, from execution or from configuration
The text was updated successfully, but these errors were encountered: