| { |
| include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ], |
| program: { |
| runner: "elf", |
| binary: "bin/dynamic_child_reporter", |
| }, |
| collections: [ |
| { |
| name: "coll", |
| durability: "transient", |
| }, |
| ], |
| use: [ |
| { protocol: "fuchsia.sys2.EventSource" }, |
| { |
| protocol: [ "fuchsia.sys2.Realm" ], |
| from: "framework", |
| }, |
| { |
| directory: "hub", |
| from: "framework", |
| rights: [ "r*" ], |
| path: "/hub", |
| }, |
| { |
| event: [ |
| "destroyed", |
| "marked_for_destruction", |
| "stopped", |
| ], |
| from: "framework", |
| modes: [ "sync" ], |
| }, |
| { |
| event_stream: "DynamicChildEventStream", |
| subscriptions: [ |
| { |
| event: "destroyed", |
| mode: "sync", |
| }, |
| { |
| event: "marked_for_destruction", |
| mode: "sync", |
| }, |
| { |
| event: "stopped", |
| mode: "sync", |
| }, |
| ], |
| }, |
| ], |
| } |