Page MenuHomeClusterLabs Projects

trace.h
No OneTemporary

#define BREAK asm("int3")
#define warn(string, args...) do { fprintf(stderr, "[%u] %s: " string "\n", getpid(), __func__, ##args); } while (0)
#define error(string, args...) do { warn(string, ##args); BREAK; } while (0)
#define assert(expr) do { if (!(expr)) error("Failed assertion \"%s\"\n", #expr); } while (0)
#define trace_on(args) args
#define trace_off(args)

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 26, 1:03 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1443051
Default Alt Text
trace.h (367 B)

Event Timeline