Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
20 months agoAttribute "printf" for ModelChecker::dot_output.
Arnaud Giersch [Fri, 26 Aug 2022 13:36:05 +0000 (15:36 +0200)]
Attribute "printf" for ModelChecker::dot_output.

20 months agoDon't throw an exception from destructor.
Arnaud Giersch [Fri, 26 Aug 2022 13:23:21 +0000 (15:23 +0200)]
Don't throw an exception from destructor.

boost::circular_buffer_space_optimized::pop_back() may throw std::bad_alloc

20 months agoC++17 is required since commit d5718258083be61d600e55b70915ccca43666e0f.
Arnaud Giersch [Fri, 26 Aug 2022 13:13:01 +0000 (15:13 +0200)]
C++17 is required since commit d5718258083be61d600e55b70915ccca43666e0f.

20 months agoReduce depth of nested statements
Arnaud Giersch [Fri, 26 Aug 2022 12:51:20 +0000 (14:51 +0200)]
Reduce depth of nested statements

20 months agoDon't give write permissions to others with mkdir.
Arnaud Giersch [Fri, 26 Aug 2022 12:48:09 +0000 (14:48 +0200)]
Don't give write permissions to others with mkdir.

20 months agoUse "std::vector" instead of C-style array (sonar).
Arnaud Giersch [Fri, 26 Aug 2022 09:16:07 +0000 (11:16 +0200)]
Use "std::vector" instead of C-style array (sonar).

20 months agoAvoid to send/receive zero-size messages.
Arnaud Giersch [Fri, 26 Aug 2022 09:09:30 +0000 (11:09 +0200)]
Avoid to send/receive zero-size messages.

There seems to be something broken with them on freebsd.

20 months agoUpdate tesh file.
Arnaud Giersch [Thu, 25 Aug 2022 12:20:58 +0000 (14:20 +0200)]
Update tesh file.

(follows commit 9b1267b59e70deb98dbf69b1231f597ed292aaaf)

20 months agoMisc cosmetics for sonar.
Arnaud Giersch [Thu, 25 Aug 2022 10:01:06 +0000 (12:01 +0200)]
Misc cosmetics for sonar.

20 months agoRemove temporary object (sonar).
Arnaud Giersch [Thu, 25 Aug 2022 09:59:17 +0000 (11:59 +0200)]
Remove temporary object (sonar).

20 months agoDeclare functions "const" (sonar).
Arnaud Giersch [Thu, 25 Aug 2022 09:51:15 +0000 (11:51 +0200)]
Declare functions "const" (sonar).

20 months agoMake parameters pointer/reference-to-const (sonar).
Arnaud Giersch [Thu, 25 Aug 2022 09:29:58 +0000 (11:29 +0200)]
Make parameters pointer/reference-to-const (sonar).

20 months agoKill redundant blank lines (codefactor.io)
Arnaud Giersch [Wed, 10 Aug 2022 15:05:41 +0000 (17:05 +0200)]
Kill redundant blank lines (codefactor.io)

[ci-skip]

20 months ago[ci-skip] try to help gcovr find files (it needs to be run in the same dir as gcc)
Augustin Degomme [Wed, 10 Aug 2022 20:56:52 +0000 (20:56 +0000)]
[ci-skip] try to help gcovr find files (it needs to be run in the same dir as gcc)

20 months agoMC: apply some sonar advices
Martin Quinson [Tue, 9 Aug 2022 21:05:46 +0000 (23:05 +0200)]
MC: apply some sonar advices

20 months agoFix the fixme (inline templated struct).
Arnaud Giersch [Tue, 9 Aug 2022 20:39:20 +0000 (22:39 +0200)]
Fix the fixme (inline templated struct).

20 months agoUnused include.
Arnaud Giersch [Tue, 9 Aug 2022 20:30:44 +0000 (22:30 +0200)]
Unused include.

20 months agoremove spurious debug message and warning
Augustin Degomme [Tue, 9 Aug 2022 15:14:56 +0000 (17:14 +0200)]
remove spurious debug message and warning

20 months agoupdate teshes
Augustin Degomme [Tue, 9 Aug 2022 14:29:31 +0000 (16:29 +0200)]
update teshes

20 months agomultiple attemps to tune behavior of read/write_all
Augustin Degomme [Tue, 9 Aug 2022 14:23:54 +0000 (16:23 +0200)]
multiple attemps to tune behavior of read/write_all

20 months agofix mpi_file set/get view to set shared pointer properly and return disp
Augustin Degomme [Tue, 9 Aug 2022 14:23:11 +0000 (16:23 +0200)]
fix mpi_file set/get view to set shared pointer properly and return disp

20 months agoupdate file pointer to match shared one after shared calls when needed
Augustin Degomme [Tue, 9 Aug 2022 14:21:24 +0000 (16:21 +0200)]
update file pointer to match shared one after shared calls when needed

20 months agoseek and other calls must use number of elements and not bytes displacement
Augustin Degomme [Tue, 9 Aug 2022 14:13:53 +0000 (16:13 +0200)]
seek and other calls must use number of elements and not bytes displacement

20 months agoupdate teshes as there are now more seek calls
Augustin Degomme [Tue, 9 Aug 2022 14:12:18 +0000 (16:12 +0200)]
update teshes as there are now more seek calls

20 months agosmpi io: restore position after calls which should not modify it (add seek calls...
Augustin Degomme [Tue, 9 Aug 2022 14:10:42 +0000 (16:10 +0200)]
smpi io: restore position after calls which should not modify it (add seek calls which are not ideal but harmless)

20 months agos4u filesystem: correctly update size of files when changed
Augustin Degomme [Tue, 9 Aug 2022 14:03:17 +0000 (16:03 +0200)]
s4u filesystem: correctly update size of files when changed

20 months agointercept getpid call in SMPI, to provide internal PID instead of same of for all...
Augustin Degomme [Tue, 9 Aug 2022 14:00:13 +0000 (16:00 +0200)]
intercept getpid call in SMPI, to provide internal PID instead of same of for all processes.

20 months agoimplement MPI_File_get_type_extent, MPI_File_s/get_atomicity, MPI_File_get_byte_offset
Augustin Degomme [Tue, 9 Aug 2022 13:56:32 +0000 (15:56 +0200)]
implement MPI_File_get_type_extent, MPI_File_s/get_atomicity, MPI_File_get_byte_offset

20 months agofilesystem, correctly update file size when seeking past it
Augustin Degomme [Sat, 6 Aug 2022 10:51:12 +0000 (12:51 +0200)]
filesystem, correctly update file size when seeking past it

20 months agoDon't test statequality: it's ~15h w/o DPOR and hard to optimize
Martin Quinson [Mon, 8 Aug 2022 23:17:39 +0000 (01:17 +0200)]
Don't test statequality: it's ~15h w/o DPOR and hard to optimize

20 months agoCorrectly disable DPOR when StateEq reduction is enabled
Martin Quinson [Mon, 8 Aug 2022 22:55:45 +0000 (00:55 +0200)]
Correctly disable DPOR when StateEq reduction is enabled

20 months agoAdd the teshfiles to the archive even when MC is disabled
Martin Quinson [Mon, 8 Aug 2022 21:15:13 +0000 (23:15 +0200)]
Add the teshfiles to the archive even when MC is disabled

20 months agoAdd tests of state equality reduction and nodpor for DFS explo
Martin Quinson [Sun, 7 Aug 2022 23:39:35 +0000 (01:39 +0200)]
Add tests of state equality reduction and nodpor for DFS explo

20 months agokill a parameter that is always true
Martin Quinson [Sun, 7 Aug 2022 23:17:54 +0000 (01:17 +0200)]
kill a parameter that is always true

20 months agomc:DFSExplo: cosmetics in the backtracking
Martin Quinson [Sun, 7 Aug 2022 23:08:48 +0000 (01:08 +0200)]
mc:DFSExplo: cosmetics in the backtracking

20 months agoMerge mc_safety.hpp into DFSExplorer class
Martin Quinson [Sun, 7 Aug 2022 22:29:08 +0000 (00:29 +0200)]
Merge mc_safety.hpp into DFSExplorer class

20 months agoUseless cosmetics while trying to understand that code
Martin Quinson [Sun, 7 Aug 2022 21:52:11 +0000 (23:52 +0200)]
Useless cosmetics while trying to understand that code

20 months agoIntegrate the (WIP) hashing logic in the Snapshot object
Martin Quinson [Sun, 7 Aug 2022 17:30:19 +0000 (19:30 +0200)]
Integrate the (WIP) hashing logic in the Snapshot object

20 months agoSmall cleanups in mc::Snapshot
Martin Quinson [Sun, 7 Aug 2022 16:51:55 +0000 (18:51 +0200)]
Small cleanups in mc::Snapshot

20 months agoFinish the removal of mc::api by moving the last bits to the side
Martin Quinson [Sat, 6 Aug 2022 23:33:18 +0000 (01:33 +0200)]
Finish the removal of mc::api by moving the last bits to the side

I would prefer to directly kill the templated structure, but I fail to
write a correct comparison lambda because it's used over a
std::vector<std::unique_ptr<simgrid::mc::VisitedState>>

All my attempts lead to either "no conversion to std::unique_ptr<VisitedState>",
or an error saying that I try to copy a unique_ptr when my lambda
takes unique_ptr as a parameter.

Please someone better at C++ than I am, please kill it.

20 months agoMove mc:api::get_remote_heap_bytes() to RemoteProcess
Martin Quinson [Sat, 6 Aug 2022 23:05:56 +0000 (01:05 +0200)]
Move mc:api::get_remote_heap_bytes() to RemoteProcess

20 months agoConvert simgrid::mc::snapshot_equal() into Snapshot::operator==()
Martin Quinson [Sat, 6 Aug 2022 22:33:02 +0000 (00:33 +0200)]
Convert simgrid::mc::snapshot_equal() into Snapshot::operator==()

Also inline 2 more functions from mc::api

20 months agoMove the dot_output global into ModelChecker
Martin Quinson [Sat, 6 Aug 2022 22:13:53 +0000 (00:13 +0200)]
Move the dot_output global into ModelChecker

20 months agoMake the RemoteApp a field of the Exploration, and sanitize initialization
Martin Quinson [Sat, 6 Aug 2022 21:12:52 +0000 (23:12 +0200)]
Make the RemoteApp a field of the Exploration, and sanitize initialization

20 months agoSimplify the MC initialization code
Martin Quinson [Thu, 4 Aug 2022 21:55:29 +0000 (23:55 +0200)]
Simplify the MC initialization code

20 months agoonly 3 more functions to go in mc::api
Martin Quinson [Thu, 4 Aug 2022 21:43:57 +0000 (23:43 +0200)]
only 3 more functions to go in mc::api

20 months agoKill another mc::api function
Martin Quinson [Thu, 4 Aug 2022 19:18:33 +0000 (21:18 +0200)]
Kill another mc::api function

20 months agoPass the remote app as a parameter to all exploration signals
Martin Quinson [Thu, 4 Aug 2022 19:10:48 +0000 (21:10 +0200)]
Pass the remote app as a parameter to all exploration signals

When we'll have reforks in the future, the remote app may change
during the exploration, so we don't want to seal the current remote
app in the callback closure. We want to use the fresh one instead.

20 months agoKill 2 more functions from mc::api
Martin Quinson [Thu, 4 Aug 2022 14:28:55 +0000 (16:28 +0200)]
Kill 2 more functions from mc::api

20 months agoMove the automaton from mc::api to Liveness. An ugly trick is needed :(
Martin Quinson [Wed, 3 Aug 2022 23:47:04 +0000 (01:47 +0200)]
Move the automaton from mc::api to Liveness. An ugly trick is needed :(

See the comment in Liveness.hpp for the full details on that trick.

20 months agolog_state has nothing to do in RemoteApp, it belongs to the exploration
Martin Quinson [Tue, 2 Aug 2022 20:56:47 +0000 (22:56 +0200)]
log_state has nothing to do in RemoteApp, it belongs to the exploration

20 months agoSanitize MC finalization process and inline a function
Martin Quinson [Tue, 2 Aug 2022 14:58:56 +0000 (16:58 +0200)]
Sanitize MC finalization process and inline a function

20 months agoKill mc::api::get_remote_app()
Martin Quinson [Tue, 2 Aug 2022 12:25:03 +0000 (14:25 +0200)]
Kill mc::api::get_remote_app()

20 months agoKill another function of mc::api
Martin Quinson [Tue, 2 Aug 2022 12:06:47 +0000 (14:06 +0200)]
Kill another function of mc::api

20 months agoKill an unimplemented declaration
Martin Quinson [Tue, 2 Aug 2022 11:45:37 +0000 (13:45 +0200)]
Kill an unimplemented declaration

20 months agoConvert Api::get_maxpid() into RemoteApp::get_maxpid()
Martin Quinson [Tue, 2 Aug 2022 11:08:10 +0000 (13:08 +0200)]
Convert Api::get_maxpid() into RemoteApp::get_maxpid()

The patch is a bit complex because RemoteApp is not a singleton, and
because I converted some pointers to references on the way.

20 months agoMerge an initialization function into the constructor
Martin Quinson [Tue, 2 Aug 2022 10:04:56 +0000 (12:04 +0200)]
Merge an initialization function into the constructor

20 months agoRename mc::Session into mc::api::RemoteApp
Martin Quinson [Tue, 2 Aug 2022 09:15:01 +0000 (11:15 +0200)]
Rename mc::Session into mc::api::RemoteApp

20 months ago[ci-skip] activate ccache on sanitizer builds
Augustin Degomme [Tue, 2 Aug 2022 18:07:42 +0000 (18:07 +0000)]
[ci-skip] activate ccache on sanitizer builds

20 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Mon, 1 Aug 2022 22:21:42 +0000 (00:21 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

20 months agoEnsure that the verified application still works if get_max_consider() is not called...
Martin Quinson [Mon, 1 Aug 2022 22:15:48 +0000 (00:15 +0200)]
Ensure that the verified application still works if get_max_consider() is not called at a given depth

This can happen after a backtrack: the Checker already knows how many
times this can be considered, but the App was reset in between so it
forgot.

So, make get_max_consider() const, and do the initialization in the
observer constructor, where it belongs. Too bad for the tiny little
tiny loss of performance compared to the lazy initialization.

20 months ago[ci-skip] Flags - let's see if this trailing whitespace was breaking everything..
Augustin Degomme [Mon, 1 Aug 2022 20:34:20 +0000 (20:34 +0000)]
[ci-skip] Flags - let's see if this trailing whitespace was breaking everything..

20 months ago[ci-skip] use ccache on flags build as well.
Augustin Degomme [Mon, 1 Aug 2022 17:36:47 +0000 (17:36 +0000)]
[ci-skip] use ccache on flags build as well.
Restrict build to two nodes with enough disk space, as it's expected to be costly

21 months agoKill a now useless variable
Martin Quinson [Sun, 31 Jul 2022 14:45:50 +0000 (16:45 +0200)]
Kill a now useless variable

21 months agosanitize things around FINALIZE_REPLY despite my laziness as it seems to break on...
Martin Quinson [Sun, 31 Jul 2022 09:56:56 +0000 (11:56 +0200)]
sanitize things around FINALIZE_REPLY despite my laziness as it seems to break on FreeBSD

21 months agoFix SMPI builds by reintroducing a killed MC function that it actually use
Martin Quinson [Sun, 31 Jul 2022 07:28:29 +0000 (09:28 +0200)]
Fix SMPI builds by reintroducing a killed MC function that it actually use

21 months agoMC further cleanups (let it compile, this time)
Martin Quinson [Sat, 30 Jul 2022 23:37:40 +0000 (01:37 +0200)]
MC further cleanups (let it compile, this time)

21 months agoMC: rename a file to sort out the mess
Martin Quinson [Sat, 30 Jul 2022 22:22:41 +0000 (00:22 +0200)]
MC: rename a file to sort out the mess

21 months agoAnd now cleanup the App-side of cruft that was needed for Checker to read actor infor...
Martin Quinson [Sat, 30 Jul 2022 22:05:25 +0000 (00:05 +0200)]
And now cleanup the App-side of cruft that was needed for Checker to read actor informations

21 months agoFinally kill mc::RemoteProcess::actors(). We now communicate the data over the wire...
Martin Quinson [Sat, 30 Jul 2022 21:56:43 +0000 (23:56 +0200)]
Finally kill mc::RemoteProcess::actors(). We now communicate the data over the wire instead of reading it directly

21 months agoGive read access to a private field
Martin Quinson [Sat, 30 Jul 2022 20:48:42 +0000 (22:48 +0200)]
Give read access to a private field

21 months agoinline a function, kill a file
Martin Quinson [Sat, 30 Jul 2022 20:38:14 +0000 (22:38 +0200)]
inline a function, kill a file

21 months agoWell the last rogue call to RemoteProcess::actors() was easy actually
Martin Quinson [Sat, 30 Jul 2022 20:15:05 +0000 (22:15 +0200)]
Well the last rogue call to RemoteProcess::actors() was easy actually

21 months agotry to hide something under the rug for now
Augustin Degomme [Sat, 30 Jul 2022 18:39:13 +0000 (20:39 +0200)]
try to hide something under the rug for now

21 months agoremove useless field
Augustin Degomme [Sat, 30 Jul 2022 18:19:15 +0000 (20:19 +0200)]
remove useless field

21 months agofix build for clang <15
Augustin Degomme [Sat, 30 Jul 2022 18:18:01 +0000 (20:18 +0200)]
fix build for clang <15

21 months agoLiveness: rename graph_state -> app_state and automaton_state -> prop_state
Martin Quinson [Sat, 30 Jul 2022 16:11:44 +0000 (18:11 +0200)]
Liveness: rename graph_state -> app_state and automaton_state -> prop_state

21 months agofurther reduce the amount of call sites for RemoteProcess::actors()
Martin Quinson [Sat, 30 Jul 2022 15:11:26 +0000 (17:11 +0200)]
further reduce the amount of call sites for RemoteProcess::actors()

21 months agosmall cosmetics to not spread unrelated logic all around the file
Martin Quinson [Sat, 30 Jul 2022 14:27:59 +0000 (16:27 +0200)]
small cosmetics to not spread unrelated logic all around the file

21 months agoMC: make it clear that we only have the info about the ready-to-run actors in a given...
Martin Quinson [Sat, 30 Jul 2022 14:16:17 +0000 (16:16 +0200)]
MC: make it clear that we only have the info about the ready-to-run actors in a given mc::State

This is very similar to the exploration algorithm in Simix, but that's
still counter-intuitive when you try to understand the code.

Let's hope that writting it this way will help me not falling into
that trap anymore :)

21 months agoReduce the amount of MC locations reading the memory of the App
Martin Quinson [Sat, 30 Jul 2022 14:04:23 +0000 (16:04 +0200)]
Reduce the amount of MC locations reading the memory of the App

We still read the remote memory, but (almost) only when creating a new
State representing that state of the App. The goal is then to get
those info through message passing instead of through memory reading.
That should help reducing the bizarre things done by the MC, maybe
allowing to run the App in valgrind or so.

As a side effect, the exploration code becomes much more readable by
using the info from the mc::State instead of invocking low-level
things to retrive those info.

21 months agoignore new deprecation warning on freebsd
Augustin Degomme [Sat, 30 Jul 2022 15:00:42 +0000 (17:00 +0200)]
ignore new deprecation warning on freebsd

21 months agouse ccache for main ci build.
Augustin Degomme [Sat, 30 Jul 2022 14:29:05 +0000 (14:29 +0000)]
use ccache for main ci build.
It should be available on every builder, so skip detection phase. Will be added if/when needed

21 months agoFix RST formatting + one URL in Release_Notes.rst
Martin Quinson [Fri, 29 Jul 2022 09:15:51 +0000 (11:15 +0200)]
Fix RST formatting + one URL in Release_Notes.rst

21 months agoIf there is no LOCK in mmalloc anymore, then there is no need for atfork
Martin Quinson [Fri, 29 Jul 2022 08:18:41 +0000 (10:18 +0200)]
If there is no LOCK in mmalloc anymore, then there is no need for atfork

21 months agoRemove the need of pthread_mutex in mmalloc, to allow its use with sthread
Martin Quinson [Thu, 28 Jul 2022 23:51:52 +0000 (01:51 +0200)]
Remove the need of pthread_mutex in mmalloc, to allow its use with sthread

Historically, mmalloc was used in all case when MC was activated at
build time (even if MC was not involved at runtime), forcing this
protection against race conditions for e.g. parallel simulations.

But nowadays, mmalloc is only activated at runtime in the verified
application. In other runtime setups, mmalloc uses the libc's malloc
implem instead of itself (that's why we use dlsym in the
initialization of mmalloc, to find the replacement).

So, removing this code should have no impact whatsoever.
Only maybe speeding up the verification a tiny bit.

And now, sthread becomes usable in conjunction with Mc Simgrid!!!

Given the current poor coverage of the pthread API, we can't verify
any useful program, but at least we have a valid (and rather robust)
prototype of such a verification tool.

21 months agoStick to dwarf-4 for MC builds.
Arnaud Giersch [Thu, 28 Jul 2022 11:50:37 +0000 (13:50 +0200)]
Stick to dwarf-4 for MC builds.

TODO: add support for dwarf-5

21 months agoKill useless complexity in mmalloc: one of the dlsym
Martin Quinson [Thu, 28 Jul 2022 08:37:30 +0000 (10:37 +0200)]
Kill useless complexity in mmalloc: one of the dlsym

dlsym is not necessary to retrieve the LD_PRELOAD-injected symbol.

The killed code was intended to be used in libsimgrid, trying to
detect when libsgmalloc was already in memory to use that copy
instead. But that's useless: LD_PRELOAD ensures that the copy of the
injected version is the only existing one in the process.

In addition, that may resolve stability issues that my previous commit
didn't solve as nicely on the build daemons than on my laptop with gcc.

21 months agoAllow dlsym to call free() on memory that is allocated before mmalloc init
Martin Quinson [Thu, 28 Jul 2022 01:06:38 +0000 (03:06 +0200)]
Allow dlsym to call free() on memory that is allocated before mmalloc init

dlsym obviously uses malloc, but we use dlsym while initializing
mmalloc, so we have a static buffer somewhere to give the required
memory to dlsym while mmalloc is not ready to serve. That's old.

Now, since the recent change in mmalloc, dlsym seems to not only
malloc some memory, but it also frees some of the obtained memory.
This commit detects when this happens and react gracefully (by
ignoring the free on that memory) instead of verbosely dying.

21 months agomore protection for non linux builds
Augustin Degomme [Mon, 25 Jul 2022 19:15:13 +0000 (21:15 +0200)]
more protection for non linux builds

21 months agoDisable mmap privatization if MUSL is detected, as it segfaults and we don't really...
Augustin Degomme [Mon, 25 Jul 2022 18:57:21 +0000 (20:57 +0200)]
Disable mmap privatization if MUSL is detected, as it segfaults and we don't really care.
Hack a way of detecting musl, which is not really ideal but should work.

21 months agoAnother attempt at PRELOADing mmalloc (WIP)
Martin Quinson [Fri, 22 Jul 2022 21:24:27 +0000 (23:24 +0200)]
Another attempt at PRELOADing mmalloc (WIP)

Try to have mmalloc both in the simgrid library (for the regular use)
and also as an external library that can be LD_PRELOADed before
sthread too.

We'll have two copies of the library when actually preloading it in
sthread, but in this case, we use dlsym(RTDL_NEXT) to find the first
loaded symbol in memory to have only one mheap in the process.

It still segfault when launching a sthread code within simgrid-mc as
follows:
   bin/simgrid-mc --cfg=model-check/setenv:LD_PRELOAD=lib/libsgmalloc.so:lib/libsthread.soexamples/sthread/pthread-mutex-simple
but at least it should fix the breakage found on FreeBSD.

21 months agoMerge branch 'adegomme-master-patch-16995' into 'master'
Augustin Degomme [Fri, 22 Jul 2022 14:48:35 +0000 (14:48 +0000)]
Merge branch 'adegomme-master-patch-16995' into 'master'

SMPI/replay: Fix issue with recv of size =0.

See merge request simgrid/simgrid!116

21 months agoSMPI/replay: Fix issue with recv of size =0.
Augustin Degomme [Fri, 22 Jul 2022 14:41:43 +0000 (14:41 +0000)]
SMPI/replay: Fix issue with recv of size =0.
Negative values can be used to trigger a probe in case of unknown receive size, but 0 is a legit value.

21 months agoMerge branch 'support-sendrecv-ti' into 'master'
Augustin Degomme [Fri, 22 Jul 2022 14:38:49 +0000 (14:38 +0000)]
Merge branch 'support-sendrecv-ti' into 'master'

Quick and dirty support of SendRecv in time-independent traces

See merge request simgrid/simgrid!115

21 months agoFix build error due to clang-format reordering the headers
Martin Quinson [Thu, 21 Jul 2022 21:09:27 +0000 (23:09 +0200)]
Fix build error due to clang-format reordering the headers

21 months agoSplit mmalloc in a separate library
Martin Quinson [Thu, 21 Jul 2022 21:00:09 +0000 (23:00 +0200)]
Split mmalloc in a separate library

The idea is to allow to preload mmalloc before sthread, that must come
before simgrid itself.

21 months agoFurther small simplifications to mmalloc, killing dead code
Martin Quinson [Thu, 21 Jul 2022 17:06:11 +0000 (19:06 +0200)]
Further small simplifications to mmalloc, killing dead code

21 months agoMerge branch 'master' of framagit.org:simgrid/simgrid
Martin Quinson [Thu, 21 Jul 2022 16:22:02 +0000 (18:22 +0200)]
Merge branch 'master' of framagit.org:simgrid/simgrid

21 months agoSeparate mmalloc from xbt
Martin Quinson [Thu, 21 Jul 2022 15:39:17 +0000 (17:39 +0200)]
Separate mmalloc from xbt

This is too bad that we cannot THROW on double free anymore, but we'll
have to live with it if we want to move mmalloc to libsthread.so