From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH bpf-next v5 00/10] BTF: BPF Type Format Date: Wed, 6 Jun 2018 09:33:10 -0300 Message-ID: <20180606123310.GA24381@kernel.org> References: <20180418225606.2771620-1-kafai@fb.com> <20180419194034.GB3254@kernel.org> <20180605212548.lwtaw4svvydo2lhy@kafai-mbp.dhcp.thefacebook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , kernel-team@fb.com To: Martin KaFai Lau Return-path: Received: from mail.kernel.org ([198.145.29.99]:46954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751851AbeFFMdN (ORCPT ); Wed, 6 Jun 2018 08:33:13 -0400 Content-Disposition: inline In-Reply-To: <20180605212548.lwtaw4svvydo2lhy@kafai-mbp.dhcp.thefacebook.com> Sender: netdev-owner@vger.kernel.org List-ID: Em Tue, Jun 05, 2018 at 02:25:48PM -0700, Martin KaFai Lau escreveu: > On Thu, Apr 19, 2018 at 04:40:34PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Apr 18, 2018 at 03:55:56PM -0700, Martin KaFai Lau escreveu: > > > This patch introduces BPF Type Format (BTF). > > > > > > BTF (BPF Type Format) is the meta data format which describes > > > the data types of BPF program/map. Hence, it basically focus > > > on the C programming language which the modern BPF is primary > > > using. The first use case is to provide a generic pretty print > > > capability for a BPF map. > > > > > > A modified pahole that can convert dwarf to BTF is here: > > > https://github.com/iamkafai/pahole/tree/btf > > > (Arnaldo, there is some BTF_KIND numbering changes on > > > Apr 18th, d61426c1571) > > > > Thanks for letting me know, I'm starting to look at this, > Hi Arnaldo, > > Do you have a chance to take a look and pull it? The kernel > changes will be in 4.18, so it will be handy if it is available in > the pahole repository. > > [ btw, the latest commit (1 commit) should be 94a11b59e592 ]. Got sidetracked, will get back to it later today. - Arnaldo