/usr/include/bart/misc/debug.h is in libbart-dev 0.4.00-1.
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 25 26 27 28 29 30 31 32 33 34 35 | /* Copyright 2013. The Regents of the University of California.
* Copyright 2016. Martin Uecker.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*/
#ifndef __DEBUG_H
#define __DEBUG_H 1
#include <stdarg.h>
#include <stddef.h>
#include "misc/cppwrap.h"
extern void dump_cfl(const char* name, int D, const long dimensions[__VLA(D)], const _Complex float* x);
extern double timestamp(void);
extern int debug_level;
extern _Bool debug_logging;
enum debug_levels { DP_ERROR, DP_WARN, DP_INFO, DP_DEBUG1, DP_DEBUG2, DP_DEBUG3, DP_DEBUG4, DP_TRACE, DP_ALL };
extern void debug_printf(int level, const char* fmt, ...);
extern void debug_vprintf(int level, const char* fmt, va_list ap);
extern void debug_backtrace(size_t n);
extern void debug_trace(const char* fmt, ...);
#define TRACE() debug_trace("%s:%d %s\n", __FILE__, __LINE__, __func__)
#include "misc/cppwrap.h"
#endif // __DEBUG_H
|