[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171031103540.52d7c163@cakuba.netronome.com>
Date: Tue, 31 Oct 2017 10:35:40 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Quentin Monnet <quentin.monnet@...ronome.com>
Cc: Prashant Bhole <bhole_prashant_q7@....ntt.co.jp>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH net-next 2/3] tools: bpftool: show filenames of pinned
objects
On Tue, 31 Oct 2017 11:41:34 +0000, Quentin Monnet wrote:
> > +{
> > + char *path[] = {"/sys/fs/bpf/", NULL};
>
> This will not work for progs/maps pinned elsewhere on the system. Might
> be worth mentioning in the documentation?
Or should the code just scan all the mount points to find the bpffs
ones?
Powered by blists - more mailing lists