Commit Graph

508 Commits

Author SHA1 Message Date
2db1a8a841 Use edie() for emu_task.c too 2022-09-21 12:59:31 +02:00
591fe17609 Avoid confusing colors for "Unlabeled0" labels 2022-09-20 14:43:20 +02:00
a94a56a4ba Update Nanos6 events for tests 2022-09-20 10:30:36 +02:00
24cb5a37c2 Remove fake subsystem test.
It is now covered by the runtime tests.
2022-09-20 10:29:36 +02:00
957cdaa81e Fix processReadyTask event value in doc 2022-09-20 10:27:49 +02:00
7962b835f4 Add missing doc subsystem items for Nanos6 2022-09-14 13:21:17 +02:00
04edd9be2e Rework blocking wait for subsystem 2022-09-14 13:21:06 +02:00
b5e70b90a7 Reduce tasks in sched-add tests
Also remove unused printf and follow style.
2022-09-14 13:20:15 +02:00
09e11b28a4 Add nanos6 as library and sched-add test 2022-09-13 15:36:55 +02:00
f1c8c3452d Organize .cfg files into directories 2022-09-13 14:58:50 +02:00
f990cd668f Switch to edie() for errors 2022-09-13 14:22:44 +02:00
999862e530 Enable CI runtime tests for Nanos6
These require a runner with nix available.
2022-09-13 12:15:36 +02:00
3d39b8cc54 Update task create emulated events 2022-09-12 16:52:27 +02:00
ac0989bf1d Update README 2022-09-12 16:16:11 +02:00
4f1125818c Add ovni level config to nanos6.toml 2022-09-12 16:16:11 +02:00
81e5f19267 Update Nanos6 events 2022-09-12 16:16:11 +02:00
c04b4587b6 Remove old category 2022-09-12 16:16:11 +02:00
ae458824b3 Check unexpected values and use edie() 2022-09-12 16:16:11 +02:00
81a391fb4b Reorder subsystem states for better colors 2022-09-12 16:16:11 +02:00
1ebdf81516 Move task create events to C category
The CPU idle/active events are no longer needed.
2022-09-12 16:16:11 +02:00
7e8ec9ebc7 Reduce task duration 2022-09-12 16:16:11 +02:00
cc1f5d769f Add Nanos6 rt test with several tasks 2022-09-12 16:16:11 +02:00
008ba5a8ef Add processing ready tasks support 2022-09-12 16:16:11 +02:00
a1378bbab5 Allow threads to die from cooling state 2022-09-12 16:16:11 +02:00
65d8d985b7 Print emulator state on Nanos6 check_affinity 2022-09-12 16:16:11 +02:00
6329c8c982 Add support for Nanos6 signal event 2022-09-12 16:16:11 +02:00
8e690f0e44 Add Nanos6 support for memory allocation 2022-09-12 16:16:10 +02:00
306a64999a Add edie() and eerr() functions
These emit a detailed message of the state of the emulator on failure.
2022-09-12 16:16:10 +02:00
666075e8cd Disable Nanos6 subsystem test for now 2022-09-12 16:16:10 +02:00
576936ef01 Add CPU idle and active events 2022-09-12 16:16:10 +02:00
982bc39490 Move thread type events to another channel 2022-09-12 16:16:10 +02:00
dfc4ba2224 Split views in one file 2022-09-12 16:16:10 +02:00
903244d22b Update documentation 2022-09-12 16:16:10 +02:00
ac1ae8e69d Use one event per blocking type in Nanos6 2022-09-12 16:16:10 +02:00
5c45323354 Sort threads by TID 2022-09-12 16:16:10 +02:00
3c385f9f3f Raise cmake minimum version to 3.20
Required by cmake_path()
2022-09-12 16:16:10 +02:00
2679655b2a Add more documentation 2022-09-12 16:16:10 +02:00
135f3dc7aa Fix some documentation problems 2022-09-12 16:16:10 +02:00
cf0ca35769 Add Nanos6 model version 2022-09-12 16:16:10 +02:00
4d6e5b58ea Reorder Nanos6 subsystems 2022-09-12 16:16:10 +02:00
a1b668a872 Convert documentation to Markdown and mkdocs 2022-09-12 16:16:10 +02:00
6141c2e303 Document nanos6 subsystem view 2022-09-12 16:16:10 +02:00
4ced6a91ca Prepare nix build for nanos6 rt tests 2022-09-12 16:16:10 +02:00
6551ba80b1 Compute test name from source file 2022-09-12 16:16:10 +02:00
7c6beb091a Add nanos6 rt tests and organize into folders 2022-09-12 16:16:10 +02:00
5970916c22 Print subsystem state name and TID 2022-09-12 16:16:10 +02:00
1754fd0cf2 Use color code for task ids by default
The default blue gradient colors can be confused with the background.
2022-09-12 16:16:10 +02:00
0ee63b87c1 Fix clang warnings 2022-09-12 16:16:10 +02:00
406e9bddcb Strict testing and improve bad test regexes 2022-09-12 16:16:10 +02:00
24f135ca95 Fix indentation 2022-09-12 16:16:10 +02:00