Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3a6c7f4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: Allow ipc logging in perf build"

parents 0d0d89ec 5b9ef503
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -789,7 +789,12 @@ char *mhi_get_restart_reason(const char *name);

#else

#define MHI_VERB(fmt, ...)
#define MHI_VERB(fmt, ...) do { \
		if (mhi_cntrl->log_buf && \
		    (mhi_cntrl->log_lvl <= MHI_MSG_LVL_VERBOSE)) \
			ipc_log_string(mhi_cntrl->log_buf, "[D][%s] " fmt, \
				       __func__, ##__VA_ARGS__); \
} while (0)

#endif