mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 01:28:53 +00:00
f57da7e645
The argument was originally designated to restrict the reach of the trace monitor but the idea remained unimplemented. It is now superseded by the use of the trace-session label as trace-subject filter. Issue #847
116 lines
3.3 KiB
Plaintext
116 lines
3.3 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 "cpu_burner.*"*
|
|
[init -> trace_logger] Thread "ep" at (0,0) TRACED total:* recent:*
|
|
[init -> trace_logger] PD "dynamic_rom"*
|
|
[init -> trace_logger] Thread "ep" at (0,0) TRACED total:* recent:*
|
|
[init -> trace_logger] PD "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_arg_buffer="64K" period_sec="3" default_policy="null" default_buffer="1K">
|
|
|
|
<policy label_prefix="cpu_burner" thread="ep"/>
|
|
|
|
<policy label="test-trace_logger" thread="ep" buffer="4K" policy="rpc_name"/>
|
|
|
|
<policy label="dynamic_rom" thread="ep" buffer="8K" policy="log_output"/>
|
|
</config>
|
|
<route>
|
|
<service name="TRACE"> <parent label=""/> </service>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</route>
|
|
</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>
|