linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Lau <kafai@fb.com>
To: Roman Gushchin <guroan@gmail.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Kernel Team <Kernel-team@fb.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Yonghong Song <yhs@fb.com>, Roman Gushchin <guro@fb.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>
Subject: Re: [PATCH v2 bpf-next 2/3] bpf: add bpffs pretty print for cgroup local storage maps
Date: Tue, 11 Dec 2018 17:16:12 +0000	[thread overview]
Message-ID: <20181211171610.z4cym255ai42acip@kafai-mbp.dhcp.thefacebook.com> (raw)
In-Reply-To: <20181210234302.31327-3-guro@fb.com>

On Mon, Dec 10, 2018 at 03:43:01PM -0800, Roman Gushchin wrote:
> Implement bpffs pretty printing for cgroup local storage maps
> (both shared and per-cpu).
> Output example (captured for tools/testing/selftests/bpf/netcnt_prog.c):
> 
> Shared:
>   $ cat /sys/fs/bpf/map_2
>   # WARNING!! The output is for debug purpose only
>   # WARNING!! The output format will change
>   {4294968594,1}: {9999,1039896}
> 
> Per-cpu:
>   $ cat /sys/fs/bpf/map_1
>   # WARNING!! The output is for debug purpose only
>   # WARNING!! The output format will change
>   {4294968594,1}: {
>   	cpu0: {0,0,0,0,0}
>   	cpu1: {0,0,0,0,0}
>   	cpu2: {1,104,0,0,0}
>   	cpu3: {0,0,0,0,0}
>   }
Acked-by: Martin KaFai Lau <kafai@fb.com>

  reply	other threads:[~2018-12-11 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-10 23:42 [PATCH v2 bpf-next 0/3] bpffs pretty print for cgroup local storage Roman Gushchin
2018-12-10 23:43 ` [PATCH v2 bpf-next 1/3] bpf: pass struct btf pointer to the map_check_btf() callback Roman Gushchin
2018-12-10 23:43 ` [PATCH v2 bpf-next 2/3] bpf: add bpffs pretty print for cgroup local storage maps Roman Gushchin
2018-12-11 17:16   ` Martin Lau [this message]
2018-12-10 23:43 ` [PATCH v2 bpf-next 3/3] selftests/bpf: add btf annotations for cgroup_local_storage maps Roman Gushchin
2018-12-11 17:18   ` Martin Lau
2018-12-12  9:56 ` [PATCH v2 bpf-next 0/3] bpffs pretty print for cgroup local storage Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181211171610.z4cym255ai42acip@kafai-mbp.dhcp.thefacebook.com \
    --to=kafai@fb.com \
    --cc=Kernel-team@fb.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=guro@fb.com \
    --cc=guroan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).