API functions. Fixes flamegraphs on archs I could test.
OK bluhm@ miod@
-/* $OpenBSD: dt_dev.c,v 1.22 2022/02/27 10:14:01 bluhm Exp $ */
+/* $OpenBSD: dt_dev.c,v 1.23 2023/03/10 11:01:52 claudio Exp $ */
/*
* Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org>
* proc_trampoline+0x1c
*/
#if defined(__amd64__)
-#define DT_FA_PROFILE 5
+#define DT_FA_PROFILE 7
+#define DT_FA_STATIC 2
+#elif defined(__i386__)
+#define DT_FA_PROFILE 8
#define DT_FA_STATIC 2
#elif defined(__octeon__)
#define DT_FA_PROFILE 6
#define DT_FA_PROFILE 6
#define DT_FA_STATIC 2
#elif defined(__sparc64__)
-#define DT_FA_PROFILE 5
+#define DT_FA_PROFILE 7
#define DT_FA_STATIC 1
#else
#define DT_FA_STATIC 0