]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita18348e08e72bd1fcddd3e35ef69b18ea66bce06
tree6c8b85f1aef8f28ef64175e20b8fa09212d00cd6
parent50d2a366f6dd64a8cf1f0bd87dc894056fcdbf5c
parent5429c1991127153725704764c58e23fcf66c5976
Merge branch 'libbpf: BTF typed dump cleanups'

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>