uftrace: Properly enable Python scripting support

This commit is contained in:
termux-pacman-bot
2022-10-31 00:48:18 +00:00
parent 492eb58229
commit 03fdb21945
6 changed files with 72 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
--- a/utils/script-python.c
+++ b/utils/script-python.c
@@ -469,9 +469,11 @@
case 8:
dval = val.d;
break;
+#if !(defined __ANDROID__ && defined __x86_64__)
case 10:
dval = (double)val.D;
break;
+#endif
default:
pr_dbg("invalid floating-point type size %d\n",
spec->size);