Re: [PATCH net-next v2 1/3] bpf: implement bpf_get_current_cgroup_id() helper

2018-06-04 Thread Yonghong Song
On 6/4/18 7:58 AM, Alexei Starovoitov wrote: On Mon, Jun 04, 2018 at 11:08:35AM +0200, Daniel Borkmann wrote: On 06/04/2018 12:59 AM, Yonghong Song wrote: bpf has been used extensively for tracing. For example, bcc contains an almost full set of bpf-based tools to trace kernel and user funct

Re: [PATCH net-next v2 1/3] bpf: implement bpf_get_current_cgroup_id() helper

2018-06-04 Thread Alexei Starovoitov
On Mon, Jun 04, 2018 at 11:08:35AM +0200, Daniel Borkmann wrote: > On 06/04/2018 12:59 AM, Yonghong Song wrote: > > bpf has been used extensively for tracing. For example, bcc > > contains an almost full set of bpf-based tools to trace kernel > > and user functions/events. Most tracing tools are cu

Re: [PATCH net-next v2 1/3] bpf: implement bpf_get_current_cgroup_id() helper

2018-06-04 Thread Daniel Borkmann
On 06/04/2018 12:59 AM, Yonghong Song wrote: > bpf has been used extensively for tracing. For example, bcc > contains an almost full set of bpf-based tools to trace kernel > and user functions/events. Most tracing tools are currently > either filtered based on pid or system-wide. > > Containers ha

[PATCH net-next v2 1/3] bpf: implement bpf_get_current_cgroup_id() helper

2018-06-03 Thread Yonghong Song
bpf has been used extensively for tracing. For example, bcc contains an almost full set of bpf-based tools to trace kernel and user functions/events. Most tracing tools are currently either filtered based on pid or system-wide. Containers have been used quite extensively in industry and cgroup is