log: Add missing function comment for trace_init()

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2022-10-06 14:59:26 +02:00
parent 01efc71ddd
commit 2074b332f9

4
log.c
View file

@ -91,6 +91,10 @@ logfn(warn, LOG_WARNING)
logfn(info, LOG_INFO) logfn(info, LOG_INFO)
logfn(debug, LOG_DEBUG) 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) void trace_init(int enable)
{ {
log_trace = enable; log_trace = enable;