/usr/include/dballe/core/trace.h is in libdballe-dev 7.21-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /** @file
* Debugging tracing functions
*/
#ifndef DBALLE_CORE_TRACE_H
#define DBALLE_CORE_TRACE_H
/*
* Include this file if you want to enable trace functions in a source
*
* The trace functions are not compiled unless you #define TRACE_SOURCE
* before including this header.
*/
#ifdef TRACE_SOURCE
#include <cstdio>
// Output a trace message
#define TRACE(...) fprintf(stderr, __VA_ARGS__)
// Prefix a block of code to compile only if trace is enabled
#define IFTRACE if (1)
#else
#define TRACE(...) do { } while (0)
#define IFTRACE if (0)
#endif
#endif
|