Merge #85 `libipt no longer requires initialization`

This commit is contained in:
Kevin Buettner 2023-06-08 23:36:15 +00:00
commit f8c2813adc
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
Index: processor-trace-2.0/libipt/src/posix/init.c
===================================================================
--- processor-trace-2.0.orig/libipt/src/posix/init.c
+++ processor-trace-2.0/libipt/src/posix/init.c
@@ -29,7 +29,7 @@
#include "pt_ild.h"
-static void __attribute__((constructor)) init(void)
+void __libipt_init(void)
{
/* Initialize the Intel(R) Processor Trace instruction decoder. */
pt_ild_init();