mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-08 22:12:39 +00:00
bfe88307de
This patch changes core's TRACE service to expose trace subjects only if their PD label matches the label of the TRACE monitor. Hence, by default, a trace monitor can only observe itself and its child components. Only if the trace monitor's parent rewrites the trace-session's label, the view of trace monitor can become broader. For example, when rewriting the trace label to an empty string "", the trace monitor becomes able to observe the sibling components hosted in the same init instance as the trace monitor. To grant a trace session the special privilege of obtaining a global system view (including the kernel's trace subjects), the top-level init has to rewrite the session's label to an empty string. At core, this specific label "init -> " is handled as a special case that discharges the filtering/namespacing of trace subjects. Note that the trace-subject label as reported as subject info is now given relative to the label of the trace session. As a nice side effect of this change, the pkg/test-trace_logger works now when executed by the depot_autopilot as well as via the test.run script. Issue #847 |
||
---|---|---|
.. | ||
archives | ||
hash | ||
README | ||
runtime |
Test functionality of the trace logger.