[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200622224258.1208588-2-sashal@kernel.org>
Date: Mon, 22 Jun 2020 18:42:45 -0400
From: Sasha Levin <sashal@...nel.org>
To: peterz@...radead.org
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de,
jolsa@...hat.com, alexey.budankov@...ux.intel.com,
songliubraving@...com, acme@...hat.com, allison@...utok.net,
sashal@...nel.org
Subject: [PATCH v3 01/14] tools headers: Add kprobes.h header
This is now needed by liblockdep as a result of 2f43c6022d84 ("kprobes:
Prohibit probing on lockdep functions").
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
tools/include/linux/kprobes.h | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 tools/include/linux/kprobes.h
diff --git a/tools/include/linux/kprobes.h b/tools/include/linux/kprobes.h
new file mode 100644
index 0000000000000..f665725ea4d59
--- /dev/null
+++ b/tools/include/linux/kprobes.h
@@ -0,0 +1,7 @@
+#ifndef _TOOLS_LINUX_KPROBES_H_
+#define _TOOLS_LINUX_KPROBES_H_
+
+#define NOKPROBE_SYMBOL(x)
+#define nokprobe_inline
+
+#endif
--
2.25.1
Powered by blists - more mailing lists