X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2d2995483b57463581ffdc4365fe1999ddc306c2..b741bb048b44a04d99689f6b64cf6628f15e550a:/src/mc/sosp/mc_checkpoint.cpp diff --git a/src/mc/sosp/mc_checkpoint.cpp b/src/mc/sosp/mc_checkpoint.cpp index f5d279fb45..4f8585d181 100644 --- a/src/mc/sosp/mc_checkpoint.cpp +++ b/src/mc/sosp/mc_checkpoint.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -158,7 +158,7 @@ static void get_memory_regions(simgrid::mc::RemoteClient* process, simgrid::mc:: snapshot->privatization_index = simgrid::mc::ProcessIndexMissing; } -/** \brief Fills the position of the segments (executable, read-only, read/write). +/** @brief Fills the position of the segments (executable, read-only, read/write). * */ // TODO, use the ELF segment information for more robustness void find_object_address(std::vector const& maps, simgrid::mc::ObjectInformation* result) @@ -226,14 +226,14 @@ void find_object_address(std::vector const& maps, simgrid:: /************************************* Take Snapshot ************************************/ /****************************************************************************************/ -/** \brief Checks whether the variable is in scope for a given IP. +/** @brief Checks whether the variable is in scope for a given IP. * * A variable may be defined only from a given value of IP. * - * \param var Variable description - * \param scope Scope description - * \param ip Instruction pointer - * \return true if the variable is valid + * @param var Variable description + * @param scope Scope description + * @param ip Instruction pointer + * @return true if the variable is valid * */ static bool valid_variable(simgrid::mc::Variable* var, simgrid::mc::Frame* scope, const void* ip) { @@ -343,7 +343,7 @@ static std::vector unwind_stack_frames(simgrid::mc::UnwindCo result.push_back(std::move(stack_frame)); /* Stop before context switch with maestro */ - if (frame != nullptr && frame->name == "smx_ctx_sysv_wrapper") + if (frame != nullptr && frame->name == "smx_ctx_wrapper") break; int ret = unw_step(&c);