From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH net-next V4 0/3] tools: bpftool: show filenames of pinned objects Date: Wed, 8 Nov 2017 07:11:07 -0800 Message-ID: <20171108071107.6c52f885@cakuba> References: <20171108045549.5356-1-bhole_prashant_q7@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "David S . Miller" , netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Quentin Monnet To: Prashant Bhole Return-path: Received: from mail-pg0-f66.google.com ([74.125.83.66]:47687 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbdKHPLQ (ORCPT ); Wed, 8 Nov 2017 10:11:16 -0500 Received: by mail-pg0-f66.google.com with SMTP id o7so2076907pgc.4 for ; Wed, 08 Nov 2017 07:11:16 -0800 (PST) In-Reply-To: <20171108045549.5356-1-bhole_prashant_q7@lab.ntt.co.jp> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 8 Nov 2017 13:55:46 +0900, Prashant Bhole wrote: > This patchset adds support to show pinned objects in object details. > > Patch1 adds a funtionality to open a path in bpf-fs regardless of its object > type. > > Patch2 adds actual functionality by scanning the bpf-fs once and adding > object information in hash table, with object id as a key. One object may be > associated with multiple paths because an object can be pinned multiple times > > Patch3 adds command line option to enable this functionality. Making it optional > because scanning bpf-fs can be costly. Acked-by: Jakub Kicinski Thank you!