Merge branch 'libbpf: BTF typed dump cleanups'
authorAndrii Nakryiko <andrii@kernel.org>
Sat, 17 Jul 2021 00:22:05 +0000 (17:22 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Sat, 17 Jul 2021 00:30:22 +0000 (17:30 -0700)
Alan Maguire says:

====================

Fix issues with libbpf BTF typed dump code.  Patch 1 addresses handling
of unaligned data. Patch 2 fixes issues Andrii noticed when compiling
on ppc64le.  Patch 3 simplifies typed dump by getting rid of allocation
of dump data structure which tracks dump state etc.

Changes since v1:

 - Andrii suggested using a function instead of a macro for checking
   alignment of data, and pointed out that we need to consider dump
   ptr size versus native pointer size (patch 1)
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Trivial merge