diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-04-26 10:18:01 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-26 22:39:22 +0200 |
commit | 9b984a20ca84337af81cdab92d1e8ae37007894a (patch) | |
tree | 1f43b64539b0ddef3c6c53d467f8e2201f97d8ff /net/core/dev.c | |
parent | fb6ef42b5c8e4ce92c2c3c36398ad7574b290951 (diff) | |
download | linux-9b984a20ca84337af81cdab92d1e8ae37007894a.tar.bz2 |
tools, bpftool: Display license GPL compatible in prog show/list
Display the license "gpl" string in bpftool prog command, like:
# bpftool prog list
5: tracepoint name func tag 57cd311f2e27366b gpl
loaded_at Apr 26/09:37 uid 0
xlated 16B not jited memlock 4096B
# bpftool --json --pretty prog show
[{
"id": 5,
"type": "tracepoint",
"name": "func",
"tag": "57cd311f2e27366b",
"gpl_compatible": true,
"loaded_at": "Apr 26/09:37",
"uid": 0,
"bytes_xlated": 16,
"jited": false,
"bytes_memlock": 4096
}
]
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions