Blame SOURCES/bpftrace-0.16.0-tools-old-mdflush.bt-fix-BPFTRACE_HAVE_BTF-macro.patch

d29bf8
From 31a42a47b90f97a2a8c2446101c0007cf09288bc Mon Sep 17 00:00:00 2001
d29bf8
From: Viktor Malik <viktor.malik@gmail.com>
d29bf8
Date: Mon, 5 Dec 2022 11:57:24 +0100
d29bf8
Subject: [PATCH] tools/old/mdflush.bt: fix BPFTRACE_HAVE_BTF macro
d29bf8
d29bf8
The correct macro to use is called BPFTRACE_HAVE_BTF, not
d29bf8
__BPFTRACE_HAVE_BTF.
d29bf8
---
d29bf8
 tools/old/mdflush.bt | 2 +-
d29bf8
 1 file changed, 1 insertion(+), 1 deletion(-)
d29bf8
d29bf8
diff --git a/tools/old/mdflush.bt b/tools/old/mdflush.bt
d29bf8
index 921c8f1b..23c7dd51 100755
d29bf8
--- a/tools/old/mdflush.bt
d29bf8
+++ b/tools/old/mdflush.bt
d29bf8
@@ -15,7 +15,7 @@
d29bf8
  * 08-Sep-2018	Brendan Gregg	Created this.
d29bf8
  */
d29bf8
 
d29bf8
-#ifndef __BPFTRACE_HAVE_BTF
d29bf8
+#ifndef BPFTRACE_HAVE_BTF
d29bf8
 #include <linux/genhd.h>
d29bf8
 #include <linux/bio.h>
d29bf8
 #endif
d29bf8
-- 
d29bf8
2.38.1
d29bf8