From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next] bpf: btf: Clean up btf.h in uapi Date: Sat, 21 Apr 2018 22:57:10 -0600 Message-ID: <20180422045708.rhmrdptscubikgcg@ast-mbp> References: <20180421164823.1059397-1-kafai@fb.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-pf0-f177.google.com ([209.85.192.177]:41012 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750746AbeDVE5Q (ORCPT ); Sun, 22 Apr 2018 00:57:16 -0400 Received: by mail-pf0-f177.google.com with SMTP id a2so6575421pff.8 for ; Sat, 21 Apr 2018 21:57:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180421164823.1059397-1-kafai@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Apr 21, 2018 at 09:48:23AM -0700, Martin KaFai Lau wrote: > This patch cleans up btf.h in uapi: > 1) Rename "name" to "name_off" to better reflect it is an offset to the > string section instead of a char array. > 2) Remove unused value BTF_FLAGS_COMPR and BTF_MAGIC_SWAP > > Suggested-by: Daniel Borkmann > Signed-off-by: Martin KaFai Lau Acked-by: Alexei Starovoitov