mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
cached_fs_rom: diagnosis of delivered ROM sessions
To enable logging of ROM session deliveries, set the "diag" on session routes: <route> <service name="ROM" label_prefix="/bin/"> <child name="cached_fs_rom" diag="yes"/> </service> … <route> Fix #3772
This commit is contained in:
parent
4f87fbd5ae
commit
dc8b4eeb40
@ -394,6 +394,8 @@ struct Cached_fs_rom::Main final : Genode::Session_request_handler
|
||||
/* Create new RPC object */
|
||||
Session_component *session = new (heap)
|
||||
Session_component(*rom, sessions, id, label);
|
||||
if (session_diag_from_args(args.string()).enabled)
|
||||
log("deliver ROM \"", label, "\"");
|
||||
env.parent().deliver_session_cap(pid, env.ep().manage(*session));
|
||||
|
||||
} else if (!rom->transfer) {
|
||||
|
Loading…
Reference in New Issue
Block a user