]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge branch 'bpftool-show-filenames-of-pinned-objects'
authorDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 03:35:49 +0000 (12:35 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 03:35:49 +0000 (12:35 +0900)
Prashant Bhole says:

====================
tools: bpftool: show filenames of pinned objects

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 <jakub.kicinski@netronome.com>

Trivial merge