Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
tracepoint.hh
1#pragma once
15
16#include "lix/config.h"
17
18// The clang static analyzer is busted on these and throws reserved-identifier
19// lints at the crimes they put in the headers. Oh well.
20#if HAVE_DTRACE && !defined(__clang_analyzer__)
21#define ENABLE_DTRACE 1
22#define TRACE(body) body
23#include <sys/sdt.h>
24#else
25#define ENABLE_DTRACE 0
26#define TRACE(body)
27#endif