[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200814160800.3298765-2-jim.cromie@gmail.com>
Date: Fri, 14 Aug 2020 10:07:59 -0600
From: Jim Cromie <jim.cromie@...il.com>
To: jbaron@...mai.com, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org
Cc: Jim Cromie <jim.cromie@...il.com>
Subject: [PATCH 1/2] dyndbg: add decl for exported ddebug_exec_queries()
59cf47e7df31 dyndbg: export ddebug_exec_queries
elicited a sparse complaint. Add declaration to header file.
I skipped the kerneldoc for now, unsure where it should go.
Ive seen it in .c files, Im leaning that way.
Signed-off-by: Jim Cromie <jim.cromie@...il.com>
---
include/linux/dynamic_debug.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index aa9ff9e1c0b3..61eb80c726bf 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -6,6 +6,9 @@
#include <linux/jump_label.h>
#endif
+/* exported for module authors to exercise >control */
+int ddebug_exec_queries(char *query, const char *modname);
+
/*
* An instance of this structure is created in a special
* ELF section at every dynamic debug callsite. At runtime,
--
2.26.2
Powered by blists - more mailing lists