File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ if(USDT_INCLUDE_DIR)
3636 include (CheckCXXSourceCompiles)
3737 set (CMAKE_REQUIRED_INCLUDES ${USDT_INCLUDE_DIR} )
3838 check_cxx_source_compiles("
39+ #if defined(__arm__)
40+ # define STAP_SDT_ARG_CONSTRAINT g
41+ #endif
42+
3943 // Setting SDT_USE_VARIADIC lets systemtap (sys/sdt.h) know that we want to use
4044 // the optional variadic macros to define tracepoints.
4145 #define SDT_USE_VARIADIC 1
Original file line number Diff line number Diff line change 99
1010#ifdef ENABLE_TRACING
1111
12+ // Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395
13+ // systemtap 4.6 on 32-bit ARM triggers internal compiler error
14+ // (this workaround is included in systemtap 4.7+)
15+ #if defined(__arm__ )
16+ # define STAP_SDT_ARG_CONSTRAINT g
17+ #endif
18+
1219// Setting SDT_USE_VARIADIC lets systemtap (sys/sdt.h) know that we want to use
1320// the optional variadic macros to define tracepoints.
1421#define SDT_USE_VARIADIC 1
You can’t perform that action at this time.
0 commit comments