aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-06-06 13:16:22 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-06-06 13:16:22 +0300
commited277181e5a96f90f07fb040d45772242919c09d (patch)
tree77ca54b750ff8623f4e36404c42dac7df92a8e03 /util/system
parentce99f77ffb57cc270e43706a4f09a107de0573db (diff)
downloadydb-ed277181e5a96f90f07fb040d45772242919c09d.tar.gz
Remove xray support
Diffstat (limited to 'util/system')
-rw-r--r--util/system/compiler.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/util/system/compiler.h b/util/system/compiler.h
index 29a9798852..32acd43488 100644
--- a/util/system/compiler.h
+++ b/util/system/compiler.h
@@ -607,28 +607,6 @@ _YandexAbort();
#define Y_HAVE_INT128 1
#endif
-/**
- * XRAY macro must be passed to compiler if XRay is enabled.
- *
- * Define everything XRay-specific as a macro so that it doesn't cause errors
- * for compilers that doesn't support XRay.
- */
-#if defined(XRAY) && defined(__cplusplus)
- #include <xray/xray_interface.h>
- #define Y_XRAY_ALWAYS_INSTRUMENT [[clang::xray_always_instrument]]
- #define Y_XRAY_NEVER_INSTRUMENT [[clang::xray_never_instrument]]
- #define Y_XRAY_CUSTOM_EVENT(__string, __length) \
- do { \
- __xray_customevent(__string, __length); \
- } while (0)
-#else
- #define Y_XRAY_ALWAYS_INSTRUMENT
- #define Y_XRAY_NEVER_INSTRUMENT
- #define Y_XRAY_CUSTOM_EVENT(__string, __length) \
- do { \
- } while (0)
-#endif
-
#if defined(__clang__) && Y_CUDA_AT_LEAST(11, 0)
#define Y_REINITIALIZES_OBJECT [[clang::reinitializes]]
#else