Re: [PATCH bpf-next] bpf: btf: Clean up btf.h in uapi

2018-04-23 Thread Daniel Borkmann
On 04/21/2018 06:48 PM, 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

Re: [PATCH bpf-next] bpf: btf: Clean up btf.h in uapi

2018-04-21 Thread Alexei Starovoitov
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-b

[PATCH bpf-next] bpf: btf: Clean up btf.h in uapi

2018-04-21 Thread Martin KaFai Lau
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 --- include/uapi/linux/b