[PATCH 1/5] perf beauty: Stop using the copy of uapi/linux/prctl.h

From: Arnaldo Carvalho de Melo
Date: Fri Mar 15 2024 - 16:53:50 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Use the system one, nothing used in that file isn't available in the
supported, active distros.

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/trace/beauty/prctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/trace/beauty/prctl.c b/tools/perf/trace/beauty/prctl.c
index 6fe5ad5f5d3a4e4b..7d1aa9fd03da52c2 100644
--- a/tools/perf/trace/beauty/prctl.c
+++ b/tools/perf/trace/beauty/prctl.c
@@ -7,7 +7,7 @@

#include "trace/beauty/beauty.h"
#include <linux/kernel.h>
-#include <uapi/linux/prctl.h>
+#include <linux/prctl.h>

#include "trace/beauty/generated/prctl_option_array.c"

--
2.43.2