From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id CF7355A026F; Mon, 10 Oct 2022 10:35:48 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v3 5/7] log: Add missing function comment for trace_init() Date: Mon, 10 Oct 2022 10:35:46 +0200 Message-Id: <20221010083548.831309-6-sbrivio@redhat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221010083548.831309-1-sbrivio@redhat.com> References: <20221010083548.831309-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: NKESRGXTEOY6JGCS3HIDOUOYNAORBXSF X-Message-ID-Hash: NKESRGXTEOY6JGCS3HIDOUOYNAORBXSF X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 d769a33..993c617 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