mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
c39a342fe5
Issue #3753
143 lines
4.5 KiB
Plaintext
143 lines
4.5 KiB
Plaintext
<runtime ram="100M" caps="1000" binary="init">
|
|
|
|
<requires> <timer/> </requires>
|
|
|
|
<events>
|
|
<timeout meaning="failed" sec="20" />
|
|
<log meaning="succeeded">
|
|
[init -> trace_logger] --- Report * (4/* subjects) ---*
|
|
[init -> trace_logger] <subject label="init -> dynamic -> test-trace_logger -> cpu_burner.*" thread="ep" id="*" state="TRACED">
|
|
[init -> trace_logger] <activity total="*" recent="*">
|
|
[init -> trace_logger] <affinity xpos="0" ypos="0">
|
|
[init -> trace_logger] <buffer />
|
|
[init -> trace_logger] </subject>*
|
|
[init -> trace_logger] <subject label="init -> dynamic -> test-trace_logger -> cpu_burner.*" thread="ep" id="*" state="TRACED">
|
|
[init -> trace_logger] <activity total="*" recent="*">
|
|
[init -> trace_logger] <affinity xpos="0" ypos="0">
|
|
[init -> trace_logger] <buffer />
|
|
[init -> trace_logger] </subject>*
|
|
[init -> trace_logger] <subject label="init -> dynamic -> test-trace_logger -> dynamic_rom" thread="ep" id="*" state="TRACED">
|
|
[init -> trace_logger] <activity total="*" recent="*">
|
|
[init -> trace_logger] <affinity xpos="0" ypos="0">
|
|
[init -> trace_logger] <buffer>*
|
|
[init -> trace_logger] cpu_burner*.config: change*
|
|
[init -> trace_logger] </subject>*
|
|
[init -> trace_logger] <subject label="init -> dynamic -> test-trace_logger -> test-trace_logger" thread="ep" id="*" state="TRACED">
|
|
[init -> trace_logger] <activity total="*" recent="*">
|
|
[init -> trace_logger] <affinity xpos="0" ypos="0">
|
|
[init -> trace_logger] <buffer>*
|
|
[init -> trace_logger] 100 *
|
|
[init -> trace_logger] trigger_once
|
|
[init -> trace_logger] trigger_once
|
|
</log>
|
|
</events>
|
|
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="dynamic_rom"/>
|
|
<rom label="cpu_burner"/>
|
|
<rom label="test-trace_logger"/>
|
|
<rom label="trace_logger"/>
|
|
<rom label="null"/>
|
|
<rom label="rpc_name"/>
|
|
<rom label="log_output"/>
|
|
</content>
|
|
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
<service name="TRACE"/>
|
|
<service name="Timer"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
|
|
<start name="trace_logger" >
|
|
<resource name="RAM" quantum="80M"/>
|
|
<config verbose="yes"
|
|
session_ram="10M"
|
|
session_parent_levels="1"
|
|
session_arg_buffer="64K"
|
|
period_sec="3"
|
|
activity="yes"
|
|
affinity="yes"
|
|
default_policy="null"
|
|
default_buffer="1K">
|
|
|
|
<policy label_prefix="init -> dynamic -> test-trace_logger -> cpu_burner"
|
|
thread="ep"/>
|
|
|
|
<policy label="init -> dynamic -> test-trace_logger -> test-trace_logger"
|
|
thread="ep"
|
|
buffer="4K"
|
|
policy="rpc_name"/>
|
|
|
|
<policy label="init -> dynamic -> test-trace_logger -> dynamic_rom"
|
|
thread="ep"
|
|
buffer="8K"
|
|
policy="log_output"/>
|
|
</config>
|
|
</start>
|
|
|
|
<start name="dynamic_rom">
|
|
<resource name="RAM" quantum="4M"/>
|
|
<provides><service name="ROM"/></provides>
|
|
<config verbose="yes">
|
|
<rom name="cpu_burner1.config">
|
|
<inline description="initial state">
|
|
<config percent="5"/>
|
|
</inline>
|
|
<sleep milliseconds="5000" />
|
|
<inline description="50%">
|
|
<config percent="50" />
|
|
</inline>
|
|
<sleep milliseconds="5000" />
|
|
</rom>
|
|
<rom name="cpu_burner2.config">
|
|
<inline description="initial state">
|
|
<config percent="5"/>
|
|
</inline>
|
|
<sleep milliseconds="4800" />
|
|
<inline description="100%">
|
|
<config percent="70" />
|
|
</inline>
|
|
<sleep milliseconds="2700" />
|
|
</rom>
|
|
</config>
|
|
</start>
|
|
|
|
<start name="test-trace_logger" >
|
|
<resource name="RAM" quantum="1M"/>
|
|
</start>
|
|
|
|
<start name="cpu_burner.1">
|
|
<binary name="cpu_burner"/>
|
|
<resource name="RAM" quantum="1M"/>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<child name="dynamic_rom" label="cpu_burner1.config"/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
|
|
<start name="cpu_burner.2">
|
|
<binary name="cpu_burner"/>
|
|
<resource name="RAM" quantum="1M"/>
|
|
<route>
|
|
<service name="ROM" label="config">
|
|
<child name="dynamic_rom" label="cpu_burner2.config"/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</start>
|
|
</config>
|
|
</runtime>
|