[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190410083905.328e05fd@cakuba.netronome.com>
Date: Wed, 10 Apr 2019 08:39:05 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Prashant Bhole <bhole_prashant_q7@....ntt.co.jp>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Quentin Monnet <quentin.monnet@...ronome.com>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next] tools/bpftool: show btf id in program
information
On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote:
> Let's add a way to know whether a program has btf context.
> Patch adds 'btf_id' in the output of program listing.
> When btf_id is present, it means program has btf context.
>
> Sample output:
> user@...t# bpftool prog list
> 25: xdp name xdp_prog1 tag 539ec6ce11b52f98 gpl
> loaded_at 2019-04-10T11:44:20+0900 uid 0
> xlated 488B not jited memlock 4096B map_ids 23
> btf_id 1
>
> Signed-off-by: Prashant Bhole <bhole_prashant_q7@....ntt.co.jp>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists