提交 ffc78767 编写于 作者: J Jeremy Fitzhardinge

xen/multicalls: disable MC_DEBUG

It's useful - and probably should be a config - but its very heavyweight,
especially with the tracing stuff to help sort out problems.
Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
上级 bc7fe1d9
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#define MC_BATCH 32 #define MC_BATCH 32
#define MC_DEBUG 1 #define MC_DEBUG 0
#define MC_ARGS (MC_BATCH * 16) #define MC_ARGS (MC_BATCH * 16)
...@@ -132,7 +132,7 @@ struct multicall_space __xen_mc_entry(size_t args) ...@@ -132,7 +132,7 @@ struct multicall_space __xen_mc_entry(size_t args)
} }
ret.mc = &b->entries[b->mcidx]; ret.mc = &b->entries[b->mcidx];
#ifdef MC_DEBUG #if MC_DEBUG
b->caller[b->mcidx] = __builtin_return_address(0); b->caller[b->mcidx] = __builtin_return_address(0);
#endif #endif
b->mcidx++; b->mcidx++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册