This is becase FOLLY_SDT macro currently not support RISC-V.
// /usr/local/include/folly/tracing/StaticTracepoint.h
#if FOLLY_HAVE_ELF && \
(defined(__x86_64__) || defined(__i386__) || defined(__aarch64__) || \
defined(__arm__)) && \
!FOLLY_DISABLE_SDT
#define FOLLY_HAVE_SDT 1
I will push a patch to fix that issue, to enable FOLLY_SDT based on whether FOLLY_HAVE_SDT == 1.
This is becase FOLLY_SDT macro currently not support RISC-V.
I will push a patch to fix that issue, to enable FOLLY_SDT based on whether FOLLY_HAVE_SDT == 1.