From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v2 5/7] log: Add missing function comment for trace_init() Date: Fri, 07 Oct 2022 13:51:04 +0200 Message-ID: <20221007115106.1983846-6-sbrivio@redhat.com> In-Reply-To: <20221007115106.1983846-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2695994082916126125==" --===============2695994082916126125== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Stefano Brivio Reviewed-by: David Gibson --- log.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/log.c b/log.c index 3c486b5..3bf0a18 100644 --- a/log.c +++ b/log.c @@ -91,6 +91,10 @@ logfn(warn, LOG_WARNING) logfn(info, LOG_INFO) logfn(debug, LOG_DEBUG) +/** + * trace_init() - Set log_trace depending on trace (debug) mode + * @enable: Tracing debug mode enabled if non-zero + */ void trace_init(int enable) { log_trace = enable; -- 2.35.1 --===============2695994082916126125==--