On Thu, 02 Jan 2025 18:26:22 -0500
Steven Rostedt [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/scripts/sorttable.c b/scripts/sorttable.c
index 20615de18276..da9e1a82e886 100644
--- a/scripts/sorttable.c
+++ b/scripts/sorttable.c
@@ -327,10 +327,420 @@ static inline void *get_index(void *start, int entsize, int index)
return start + (entsize * index);
}
-/* 32 bit and 64 bit are very similar */
-#include "sorttable.h"
-#define SORTTABLE_64
-#include "sorttable.h"
+
[..]
+
+#if defined(SORTTABLE_64) && defined(UNWINDER_ORC_ENABLED)
My tests started to fail after this patch. It was the stack tracing tests
on x86_64. This patch removed the define of SORTTABLE_64, which stopped the
orc unwinder section from being sorted. :-p
Oops! When I post the stand-a-lone patches, this will be fixed.
-- Steve
quoted hunk ↗ jump to hunk
+/* ORC unwinder only support X86_64 */
+#include <asm/orc_types.h>
+
+#define ERRSTR_MAXSZ 256
+