]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c530478a825e6f55b8ef1fee4fdd9345fc9550e
tree4e59243e803a4b26d918c1b79e08107cdd89f2ac
parent97edfc92ba1134096cc9b82a634bcd42a66521e9
parent1add0a211490bedd1fbfb42f599f51546e0f635c
Merge branch 'bpftool-show-filenames-of-pinned-objects'

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>