Re: [iovisor-dev] New helper bpf_get_current_pidns_info

2018-07-26 Thread cnb
Hi, I have resumed work on issue https://github.com/iovisor/bcc/issues/1329. I just added the needed fields in this helper structure and also I updated the bcc code to use this helper, but I have a couple of questions, regarding my implementation. - Should I be reading /proc/self/ns/pid using

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