From bc249f293cab17c0dcde886fccc26deb0dfca33c Mon Sep 17 00:00:00 2001 From: James O'Shannessy Date: Fri, 21 Sep 2018 16:14:14 +1000 Subject: Current state of loopback. Committing debug changes and loopback changes Signed-off-by: James O'Shannessy --- core.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core.h') diff --git a/core.h b/core.h index 1cf7c95..6e3b651 100644 --- a/core.h +++ b/core.h @@ -12,6 +12,17 @@ #include +#define DINFO(ap, fmt, args...) \ + printk(KERN_INFO "[%s] %d:%s " fmt "\n", ap, __LINE__, __func__, ##args) + +#define DERROR(ap, fmt, args...) \ + printk(KERN_ERR "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \ + __func__, ##args) + +#define DPRINT(ap, fmt, args...) \ + printk(KERN_DEBUG "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \ + __func__, ##args) + /** * PCM buffer complete callback * -- cgit 1.2.3-korg