From: Jim Cromie <jim.cromie@gmail.com>
To: jbaron@akamai.com, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org
Cc: Jim Cromie <jim.cromie@gmail.com>
Subject: [PATCH 1/2] dyndbg: add decl for exported ddebug_exec_queries()
Date: Fri, 14 Aug 2020 10:07:59 -0600 [thread overview]
Message-ID: <20200814160800.3298765-2-jim.cromie@gmail.com> (raw)
In-Reply-To: <20200814160800.3298765-1-jim.cromie@gmail.com>
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@gmail.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
next prev parent reply other threads:[~2020-08-14 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-14 16:07 [PATCH 0/2] for-5.9rc1 dyndbg fixes Jim Cromie
2020-08-14 16:07 ` Jim Cromie [this message]
2020-08-14 16:08 ` [PATCH 2/2] dyndbg: give %3u width in pr-format, cosmetic only Jim Cromie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200814160800.3298765-2-jim.cromie@gmail.com \
--to=jim.cromie@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jbaron@akamai.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®