247ea7e7c3
Add nosv.can_breakdown attribute check
...
The nosv.can_breakdown attribute states if enough events for the
breakdown model of nOS-V are enabled at runtime. It is used to ensure
that breakdown traces have the progress events enabled along with others
required for proper visualization of traces.
The emulator will panic when the level is not enough, instead of relying
on users to always remember to enable the correct level.
2024-06-18 12:06:42 +02:00
aab33ccfab
Add Nodes RT tests with breakdown enabled
2024-06-12 16:52:30 +02:00
819e83d138
Add RT breakdown tests for nOS-V
...
The nOS-V version required is now 2.3.0.
2024-06-12 16:52:30 +02:00
0c64f62d01
Add Nanos6 breakdown test for runtime
2024-05-09 15:36:58 +02:00
e3bd221d01
Run nOS-V mutex and barrier tests on level 3
...
The mutex and barrier API events are only emitted on level 3 or above.
2024-03-27 12:05:59 +01:00
eb1fc0f7da
Add nosv barrier API event
2024-03-22 16:58:14 +01:00
aaa7769448
Add nosv mutex API events
2024-03-22 16:56:25 +01:00
70f34e9e33
Fail fibonacci test on nOS-V kernel warnings
...
Some threads may fail to enable the kernel instrumentation by reaching
the memory lock limit, causing the kernel instrumentation to be disabled
without any error in the emulation.
To prevent this situation, we run the test manually and check that there
are no warnings during the execution.
2024-03-22 15:40:42 +01:00
c7dbf643d3
Implement outlined fibonacci test too
2024-03-22 15:40:38 +01:00
37a567299e
Add a fibonacci test to cause context switches
...
The test creates tasks that pause until the children task have finished.
The value of the perf_event_paranoid file is checked to determine if we
can run the test.
2024-03-21 17:07:19 +01:00
d1e4f46128
Implement level parameter in nodes tests
...
The level is used to override the nOS-V configuration for the ovni.level
value.
2024-03-21 16:15:45 +01:00
7cd4fa2bf0
Fix indentation in test/rt/nosv/CMakeLists.txt
2024-03-21 16:15:07 +01:00
0404304803
Add task labels to rt-nodes-taskiter test
2024-03-13 17:44:13 +01:00
3e5b949c4e
Add nOS-V RT parallel task tests
...
The runtime tests check that we can submit and inline task (which must
emit a pause event before the nested task begins) and that we can run
parallel tasks.
2024-03-13 17:44:13 +01:00
55318d9da7
Update OpenMP emulation model
...
Add more tests, subsystem states and documentation.
2024-03-12 11:35:18 +01:00
Raúl Peñacoba Veigas
3e7006cec7
Change usleep() to sleep_us() in RT tests
2024-02-20 14:01:18 +01:00
4993197fb9
Add nOS-V attach and detach API events
...
Instead of showing the "attached" state with the VH{aA} events, we show
when the call to nosv_attach() and nosv_detach() take place. The old
VH{aA} events are now ignored. Bumps the nOS-V model version to 1.1.0.
2024-02-15 17:59:41 +01:00
4d95f046ea
Add nosv nested init RT test
2024-02-13 16:24:37 +01:00
1930cc4fd6
Adjust the regex of spawn-task-external-bad test
...
Now the program fails in runtime directly as the stream is not
initialized when Nanos6 attempts to write events.
2023-12-20 12:08:47 +01:00
1918ab6669
Always attempt to find Nanos6 and NODES
...
Causes the packages to always appear as found or not found in the
summary of cmake. Otherwise they were only checked if the compiler
supports the -fompss2 flag.
2023-12-15 11:06:41 +01:00
2b2a0eea8e
Require nOS-V 2.0.0 for RT tests
...
We no longer need to detect support for instrumentation levels, as it is
included in 2.0.0.
2023-12-15 11:06:41 +01:00
ae7ef21014
Fix attach nOS-V RT test
...
The nosv_attach() function no longer needs a the type argument.
2023-12-15 11:06:41 +01:00
0a534f6c46
Simplify nanos6.toml config
...
Only the parts relevant to ovni are required.
2023-12-15 11:06:41 +01:00
8de5f329d9
Add RT nOS-V tests for the ovni.level option
...
Only nOS-V versions higher than 1.1.0 have support for the "ovni.level"
option.
2023-11-08 15:58:50 +01:00
eda93acc49
Use pkg-config to find nOS-V
2023-11-08 15:58:46 +01:00
b1ee2e7143
Add taskloop test in Nanos6 and NODES
2023-07-28 18:15:28 +02:00
7c68922a95
Enable NODES rt instrumentation
...
The NODES_OVNI environment variable is now needed to enable the ovni
instrumentation.
2023-07-07 10:52:46 +02:00
f8a15df1b9
Fix Nanos6 and NODES rt tests
2023-05-31 19:16:18 +02:00
64c2d52a7a
Always enable all tests for ovni-rt
2023-05-30 18:16:08 +02:00
f5a911485a
Remove unused configuration options for nOS-V
2023-05-30 17:41:05 +02:00
d0a47783f2
Use the completion callback to wait
...
The memory allocated is freed after the spawned function is executed.
2023-05-08 19:23:42 +02:00
7d7c59bbf8
Fix bug in spawn task tests
...
The argument passed to nanos6_spawn_function() was being destroyed when
the parent function ends.
2023-05-02 20:04:29 +02:00
3c6c6ed230
Add taskiter NODES test
2023-04-17 15:58:19 +00:00
080d1df3e1
Remove _DEFAULT_SOURCE from tests
2023-03-24 12:08:45 +00:00
848a1de963
Constraint _GNU_SOURCE in compat.c only
2023-03-24 12:08:45 +00:00
1e822c248e
Remove duplicated _POSIX_C_SOURCE define
2023-03-24 12:08:45 +00:00
c0afc79d4e
Use OK() and ERR() in unit tests
...
Also remove prefixes and trailing new lines in err() and die()
2023-03-24 12:08:45 +00:00
82f1cc287d
Update copyright years to 2021-2023
2023-03-24 12:08:45 +00:00
eb8d10771b
Indent #pragma statements
2023-03-24 12:08:45 +00:00
4c7b44510a
Remove empty tests
2023-03-24 12:08:45 +00:00
9407616c2b
Add Nanos6 spawn task rt tests
2023-03-24 12:08:45 +00:00
451d4be386
Port ovnisort
2023-03-24 12:08:45 +00:00
02db4b6369
Add support for NODES
2023-03-24 12:08:45 +00:00
a818795d88
Add support for nOS-V
...
Most of the model is taken from nanos6, we should refactor them.
2023-03-24 12:08:45 +00:00
e674c92f13
Enable emu and rt tests for nanos6 and ovni
2023-03-24 12:08:45 +00:00
e47cf8fe22
Disable taskfor runtime test
2022-12-13 13:29:09 +01:00
2017541a55
Update nanos6.toml file
2022-11-14 12:12:00 +01:00
190cd8b822
Sort NODES test traces too
2022-10-07 11:28:10 +02:00
f85826b093
Use same nOS-V config for NODES tests
2022-10-07 11:27:50 +02:00
5b4a9c7da4
Sort nOS-V test traces
2022-10-07 11:27:20 +02:00