__always_inline can cause build error on musl libc because it's not
defined. We need to include <linux/stddef.h> before asm/byteorder.h.
tools/include/uapi/linux/perf_event.h is copied version from
include/uapi/linux/perf_event.h. To fix this, we need to apply this
change both header files.

Cc: Mathieu Poirier <mathieu.poir...@linaro.org>
Cc: Suzuki K Poulose <suzuki.poul...@arm.com>
Cc: Mike Leach <mike.le...@linaro.org>
Cc: Leo Yan <leo....@linaro.org>
Cc: John Garry <john.ga...@huawei.com>
Cc: Will Deacon <w...@kernel.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Ingo Molnar <mi...@redhat.com>
Cc: Arnaldo Carvalho de Melo <a...@kernel.org>
Cc: Mark Rutland <mark.rutl...@arm.com>
Cc: Jiri Olsa <jo...@redhat.com>
Cc: Namhyung Kim <namhy...@kernel.org>
Cc: Khem Raj <raj.k...@gmail.com>

Chanho Park (2):
  perf: fix build error on MUSL libc
  perf: tool: fix build error on MUSL libc

 include/uapi/linux/perf_event.h       | 3 +++
 tools/include/uapi/linux/perf_event.h | 3 +++
 2 files changed, 6 insertions(+)

-- 
2.23.0

Reply via email to