X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/242fde5e8077f8193db4df5f262a9672085c8d8a..1de2cea69ed077bfc9b387814f95dc35db3083dc:/src/mc/mc_process.h diff --git a/src/mc/mc_process.h b/src/mc/mc_process.h index 8aee3c0900..570d84b68b 100644 --- a/src/mc/mc_process.h +++ b/src/mc/mc_process.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2014. The SimGrid Team. +/* Copyright (c) 2008-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -17,6 +17,7 @@ #include "simgrid_config.h" #include +#include #include #ifdef HAVE_MC @@ -72,7 +73,7 @@ public: // Read memory: const void* read_bytes(void* buffer, std::size_t size, remote_ptr address, int process_index = ProcessIndexAny, - ReadMode mode = Normal) const MC_OVERRIDE; + ReadMode mode = Normal) const override; void read_variable(const char* name, void* target, size_t size) const; template T read_variable(const char *name) const @@ -238,14 +239,14 @@ public: // Libunwind-data /** Open a FD to a remote process memory (`/dev/$pid/mem`) */ -int open_vm(pid_t pid, int flags); +XBT_PRIVATE int open_vm(pid_t pid, int flags); } } SG_BEGIN_DECL() -XBT_INTERNAL void MC_invalidate_cache(void); +XBT_PRIVATE void MC_invalidate_cache(void); SG_END_DECL()