probes.h 1.3 KB

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "all.h"
  3. #define LWTRACE_INTERNAL_PROVIDER(PROBE, EVENT, GROUPS, TYPES, NAMES) \
  4. PROBE(PerfReport, GROUPS(), \
  5. TYPES(double, double, double, double), \
  6. NAMES("probeShare", "probeMinMs", "probeMaxMs", "probeAvgMs")) \
  7. PROBE(DeserializationError, GROUPS("LWTraceError"), \
  8. TYPES(TString, TString), \
  9. NAMES("probeName", "providerName")) \
  10. PROBE(Fork, GROUPS(), \
  11. TYPES(ui64), \
  12. NAMES("spanId")) \
  13. PROBE(Join, GROUPS(), \
  14. TYPES(ui64, ui64), \
  15. NAMES("spanId", "trackLength")) \
  16. PROBE(OrbitIsUsedConcurrentlyError, GROUPS("LWTraceError"), \
  17. TYPES(TString), \
  18. NAMES("backtrace")) \
  19. /**/
  20. LWTRACE_DECLARE_PROVIDER(LWTRACE_INTERNAL_PROVIDER)