> On Apr 4, 2019, at 1:38 PM, Brendan Gregg <brendan.d.gr...@gmail.com> wrote:
> 
> C_INCLUDE_PATH=... environment variable should work.

Yes, thanks. Though CPATH seems to be more universal. I'll work up some docs and
submit a PR.

Now, if I can find an equivalent to dtrace's print(arg[0])...
 -- richard


> 
> But you can file an RFE or PR anyway to add this to the docs. Thanks!
> 
> Brendan
> 
> On Thu, Apr 4, 2019 at 12:41 PM Richard Elling 
> <richard.ell...@richardelling.com <mailto:richard.ell...@richardelling.com>> 
> 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
> 
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1648): https://lists.iovisor.org/g/iovisor-dev/message/1648
Mute This Topic: https://lists.iovisor.org/mt/30900116/21656
Group Owner: iovisor-dev+ow...@lists.iovisor.org
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to