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

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