Files
linux/tools/perf/util
Xu Yang aee1d55922 perf python: include "util/sample.h"
The 32-bit arm build system will complain:

tools/perf/util/python.c:75:28: error: field ‘sample’ has incomplete type
   75 |         struct perf_sample sample;

However, arm64 build system doesn't complain this.

The root cause is arm64 define "HAVE_KVM_STAT_SUPPORT := 1" in
tools/perf/arch/arm64/Makefile, but arm arch doesn't define this.
This will lead to kvm-stat.h include other header files on arm64 build
system, especially "util/sample.h" for util/python.c.

This will try to directly include "util/sample.h" for "util/python.c" to
avoid such build issue on arm platform.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Cc: imx@lists.linux.dev
Link: https://lore.kernel.org/r/20240819023403.201324-1-xu.yang_2@nxp.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-09-02 11:59:24 -07:00
..
2023-10-25 13:38:33 -07:00
2024-06-26 11:07:42 -07:00
2024-05-10 10:52:46 -03:00
2023-03-14 08:29:46 -03:00
2024-07-03 14:59:15 -07:00
2022-10-04 08:55:21 -03:00
2024-07-12 09:38:41 -07:00
2024-03-21 10:41:28 -03:00
2024-03-21 10:41:28 -03:00
2024-07-12 09:38:41 -07:00
2024-06-10 16:45:10 -07:00
2023-01-23 10:00:47 -03:00
2024-06-15 21:04:04 -07:00
2024-06-15 21:04:04 -07:00
2023-10-12 10:01:56 -07:00
2024-03-21 10:41:28 -03:00
2024-02-12 12:35:41 -08:00
2024-06-28 12:55:29 -07:00
2023-04-06 21:40:28 -03:00
2023-09-12 17:47:00 -03:00
2024-09-02 11:59:24 -07:00
2023-11-09 13:47:50 -03:00
2024-07-12 09:38:41 -07:00
2023-04-10 19:20:53 -03:00