Skip to content

Commit

Permalink
Fix compilation issues after cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
raguridan committed May 29, 2024
1 parent 6906f13 commit e16dd40
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion src/multio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ list( APPEND multio_util_srcs
util/RingBuffer.h
util/Tracer.h
util/Tracer.cc
util/TraceEventIds.h
)

list( APPEND multio_config_srcs
Expand Down
5 changes: 0 additions & 5 deletions src/multio/api/multio_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ struct multio_metadata_t : public multio::message::Metadata {


namespace {

static multio::util::Tracer tracer(8, 32768, "./multio_api_events.bin");
static std::atomic_uint32_t traceEventCounter = 1;

// Template magic to provide a consistent error-handling approach

int innerWrapFn(std::function<void()> f) {
Expand Down Expand Up @@ -246,7 +242,6 @@ int multio_initialise() {
if (!initialised) {
const char* argv[2] = {"multio-api", 0};
eckit::Main::initialise(1, const_cast<char**>(argv));
tracer.startWriterThread();
initialised = true;
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/multio/util/Tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <chrono>
#include <sstream>

#include <cstring>
#include <fcntl.h>
#include <unistd.h>

Expand Down

0 comments on commit e16dd40

Please sign in to comment.