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
cached_fs_rom
Emery Hemingway 3 years ago
parent 53f32e4ba3
commit 72032b25e1
  1. 2
      repos/os/src/server/cached_fs_rom/main.cc

@ -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…
Cancel
Save