File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - {os: ubuntu-24.04, cc: "gcc", cxx: "g++"}
2323 - {os: ubuntu-24.04, cc: "clang", cxx: "clang++"}
2424 - {os: windows-latest, cc: "cl", cxx: "cl"}
25- - {os: macos-latest, cc: "clang", cxx: "clang++"}
2625
2726 steps :
2827 - uses : actions/checkout@v6
Original file line number Diff line number Diff line change @@ -73,10 +73,8 @@ namespace {
7373#else // defined(WIN32)
7474
7575#include < unistd.h>
76- #ifdef __linux__
7776#include < linux/perf_event.h>
7877#include < sys/syscall.h>
79- #endif
8078
8179#ifdef _PSTL_PAR_BACKEND_TBB // This macro is defined in gcc libraries
8280#include < oneapi/tbb/global_control.h>
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ DEFINE_TEST(test_perf_unknown_counter) {
254254 bool caught = false ;
255255 try {
256256 INSTRUMENT_PERF (" this-counter-does-not-exist" );
257- #ifndef __linux__
257+ #ifdef _WIN32
258258 throw profiler::profilerError (" INSTRUMENT_PERF: unsupported counter 'this-counter-does-not-exist'" );
259259#endif
260260 } catch (const profiler::profilerError &) {
You can’t perform that action at this time.
0 commit comments