Right, this trace is actually not used anywhere, so only check was
compilation. Will fix that.
On 19 November 2017 at 08:27, Johannes Sixt wrote:
> Am 19.11.2017 um 01:42 schrieb gennady.kup...@gmail.com:
>>
>> +#define trace_printf_key(key, ...)
>> \
>> + do {
>> \
>> +
Am 19.11.2017 um 01:42 schrieb gennady.kup...@gmail.com:
+#define trace_printf_key(key, ...) \
+ do {\
+ if (trace_pass_fl(key)) \
+
From: Gennady Kupava
- Do the check if the trace key is enabled sooner in call chain.
- Move just enough code from trace.c into trace.h header so all code
necessary to determine that trace is disabled could be inlined to
calling functions.
Signed-off-by: Gennady
3 matches
Mail list logo