Re: bpftrace and include search paths?

Brendan Gregg

C_INCLUDE_PATH=... environment variable should work.

But you can file an RFE or PR anyway to add this to the docs. Thanks!


On Thu, Apr 4, 2019 at 12:41 PM Richard Elling <richard.elling@...> wrote:
I have a need to have a bpftrace script #include headers from a project
directory. In cc, this is like adding -I<path>. Am I blind from reading manuals
or is there a clever way to pass that info down through bpftrace into bpf or
is this a new RFE?
 -- richard

Join { to automatically receive all group messages.