Re: [PATCHv3 3/3] tools bpftool: Display license GPL compatible in prog show/list

From: Daniel Borkmann
Date: Thu Apr 26 2018 - 16:49:37 EST


On 04/26/2018 10:18 AM, Jiri Olsa wrote:
[...]
> v3 of the last patch attached, the branch is also updated
>
> thanks,
> jirka
>
>
> ---
> 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@xxxxxxxxxx>

Ok, v2 from prior two patches and v3 of this one applied to bpf-next. Please
next time always submit a fresh new series at once, thanks Jiri.