Re: [iovisor-dev] New helper bpf_get_current_pidns_info

2017-10-01 Thread carlos antonio neira bustos via iovisor-dev
Hi, I'll add the device major/minor numbers into the pidns_info structure and work on those 4 points. Thanks for your guidance on this. Bests On Sat, Sep 30, 2017 at 9:55 PM, Y Song wrote: > On Thu, Sep 28, 2017 at 2:02 PM, carlos antonio neira bustos >

[iovisor-dev] New helper bpf_get_current_pidns_info

2017-09-28 Thread carlos antonio neira bustos via iovisor-dev
Hi All, I'm still working this issue https://github.com/iovisor/bcc/issues/1329. I have added tests under samples/bpf, here is test calling this new helper. Inside the container *ping-10619 [000] d.s1 5319.547909: 0x0001: ns_id 4026532197 tgid 10619 pid 10619* Outside the container

Re: [iovisor-dev] New bcc helpers

2017-09-11 Thread carlos antonio neira bustos via iovisor-dev
> @@ -539,6 +539,19 @@ >> > * @mode: operation mode (enum bpf_adj_room_mode) >> > * @flags: reserved for future use >> > * Return: 0 on success or negative error code >> > + * >> > + * int bpf_get_current_ns_id(void) >> > + * Return namespa

Re: [iovisor-dev] New bcc helpers

2017-09-09 Thread carlos antonio neira bustos via iovisor-dev
with it. Bests On Sat, Sep 9, 2017 at 10:12 AM, Y Song <ys114...@gmail.com> wrote: > Hi, Carlos, > > Thanks for the prototyping. See comments below. > > On Sat, Sep 9, 2017 at 6:47 AM, carlos antonio neira bustos via > iovisor-dev <iovisor-dev@lists.iovisor.org> wrote: >

Re: [iovisor-dev] New bcc helpers

2017-09-09 Thread carlos antonio neira bustos via iovisor-dev
ion eBPF program intends to call Bests On Fri, Sep 8, 2017 at 2:39 PM, carlos antonio neira bustos < cneirabus...@gmail.com> wrote: > Thank you very much. > > On Sep 8, 2017 6:35 PM, "Y Song" <ys114...@gmail.com> wrote: > >> >> >> On Fri,

Re: [iovisor-dev] New bcc helpers

2017-09-08 Thread carlos antonio neira bustos via iovisor-dev
Thank you very much. On Sep 8, 2017 6:35 PM, "Y Song" <ys114...@gmail.com> wrote: > > > On Fri, Sep 8, 2017 at 12:21 PM, carlos antonio neira bustos via > iovisor-dev <iovisor-dev@lists.iovisor.org> wrote: > >> Hi, >> >> I'm trying to