mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
12fc9a0fbb
Optionally log thread priority with <config priority="yes" ...> ... </config> The commit also applies a cleanup of format calculations.
112 lines
3.4 KiB
Plaintext
112 lines
3.4 KiB
Plaintext
<runtime ram="100M" caps="1000" binary="init">
|
|
|
|
<requires> <timer/> </requires>
|
|
|
|
<fail after_seconds="20"/>
|
|
<succeed>
|
|
[init -> trace_logger] Report *
|
|
[init -> trace_logger] PD "init -> dynamic -> test-trace_logger -> cpu_burner.*"*
|
|
[init -> trace_logger] Thread "ep" at (0,0) TRACED total:* recent:*
|
|
[init -> trace_logger] PD "init -> dynamic -> test-trace_logger -> dynamic_rom"*
|
|
[init -> trace_logger] Thread "ep" at (0,0) TRACED total:* recent:*
|
|
[init -> trace_logger] PD "init -> dynamic -> test-trace_logger -> test-trace_logger"*
|
|
[init -> trace_logger] Thread "ep" at (0,0) TRACED total:* recent:*
|
|
[init -> trace_logger] 100 *
|
|
[init -> trace_logger] trigger_once
|
|
[init -> trace_logger] trigger_once
|
|
</succeed>
|
|
|
|
<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" priority="no" sc_time="no" session_ram="10M" session_parent_levels="1" session_arg_buffer="64K" period_sec="3" 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="1280K"/>
|
|
<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="1280K"/>
|
|
<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>
|