From 8137aef7bd0ba654cd909b578f275399913e1c3b Mon Sep 17 00:00:00 2001 From: Tomasz Lauda Date: Mon, 23 Sep 2019 09:57:10 +0200 Subject: [PATCH] agent: add error tracing macro Signed-off-by: Tomasz Lauda --- src/lib/agent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/agent.c b/src/lib/agent.c index 7e2d9b337..b6abf1445 100644 --- a/src/lib/agent.c +++ b/src/lib/agent.c @@ -32,6 +32,8 @@ trace_event_atomic(TRACE_CLASS_SA, __e, ##__VA_ARGS__) #define trace_sa_value(__e, ...) \ trace_value_atomic(__e, ##__VA_ARGS__) +#define trace_sa_error(__e, ...) \ + trace_error(TRACE_CLASS_SA, __e, ##__VA_ARGS__) struct sa *sa;