diff options
| -rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch | 32 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch new file mode 100644 index 00000000..12e12c68 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From a51ebf08cec81d84ac258da1c0ead139d6ddc94f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ryan Eatmon <reatmon@ti.com> | ||
| 3 | Date: Tue, 2 Jul 2024 11:07:14 -0500 | ||
| 4 | Subject: [master][PATCH] perf python: Fix compile for 32bit platforms | ||
| 5 | |||
| 6 | The definition for perf_sample is missing on 32bit compiles: | ||
| 7 | |||
| 8 | tools/perf/util/python.c:75:28: error: field 'sample' has incomplete type | ||
| 9 | 75 | struct perf_sample sample; | ||
| 10 | |||
| 11 | Adding #include "sample.h" fixes it. | ||
| 12 | |||
| 13 | Upstream-Status: Inappropriate | ||
| 14 | |||
| 15 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
| 16 | --- | ||
| 17 | tools/perf/util/python.c | 2 ++ | ||
| 18 | 1 file changed, 2 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c | ||
| 21 | index 3be882b2e845..de64ca3cf2d1 100644 | ||
| 22 | --- a/tools/perf/util/python.c | ||
| 23 | +++ b/tools/perf/util/python.c | ||
| 24 | @@ -1,3 +1,5 @@ | ||
| 25 | +#include "sample.h" | ||
| 26 | + | ||
| 27 | // SPDX-License-Identifier: GPL-2.0 | ||
| 28 | #include <Python.h> | ||
| 29 | #include <structmember.h> | ||
| 30 | -- | ||
| 31 | 2.17.1 | ||
| 32 | |||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb index 803db1fd..b4ec47bc 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb | |||
| @@ -24,6 +24,7 @@ KERNEL_DEFCONFIG = "" | |||
| 24 | 24 | ||
| 25 | KERNEL_REPRODUCIBILITY_PATCHES = " \ | 25 | KERNEL_REPRODUCIBILITY_PATCHES = " \ |
| 26 | file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \ | 26 | file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \ |
| 27 | file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ | ||
| 27 | " | 28 | " |
| 28 | 29 | ||
| 29 | DEFCONFIG_NAME = "multi_v7_defconfig" | 30 | DEFCONFIG_NAME = "multi_v7_defconfig" |
