]> 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)
commitecd6ff71f837a33516a111caa6609a4118cdafa0
tree6c8b85f1aef8f28ef64175e20b8fa09212d00cd6
parentd3da0b322d883fb8ac0378e8dec7b16678f82845
parent6806a57af642ccad4d83109b6a2aed56fa923481
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>