Skip to content

Commit

Permalink
Fix config, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlamb-gh committed Feb 21, 2024
1 parent 089ba98 commit f1a7208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ reflector configuration file, e.g. `[plugins.ingest.collectors.trace-recorder-rt
When provided, the plugin will continually attempt to attach and search for a valid
RTT control block anywhere in the target RAM.
Accepts durations like "10ms" or "1minute 2seconds 22ms".
See the [RTT timing section](https://docs.rs/probe-rs-rtt/0.14.2/probe_rs_rtt/struct.Rtt.html#examples-of-how-timing-between-host-and-target-effects-the-results) for more information.
- `disable-control-plane` — Disable sending control plane commands to the target.
By default, `CMD_SET_ACTIVE` is sent on startup and shutdown to start and stop tracing on the target.
- `restart` — Send a stop command before a start command to reset tracing on the target.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/rtt_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async fn do_main() -> Result<(), Box<dyn std::error::Error>> {
})?;

let mut trc_cfg = TraceRecorderConfig::load_merge_with_opts(
TraceRecorderConfigEntry::ItmCollector,
TraceRecorderConfigEntry::RttCollector,
opts.rf_opts,
opts.tr_opts,
)?;
Expand Down

0 comments on commit f1a7208

Please sign in to comment.