Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Dec 15, 2023
1 parent cdd29c6 commit 7db5fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Changed
- `measureme`: Update StringId and Addr sizes from u32 to u64 ([GH-216])
- `analyzeme`: New support for v9 file format, which uses larger event sizes
- `analyzeme`: v9 file format, which uses larger events ([GH-216])

## [10.1.2] - 2023-12-14

Expand Down
3 changes: 1 addition & 2 deletions crox/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
.find(" --crate-name ")
.map(|index| index + 14);
if let Some(index) = index_of_crate_name {
let metadata = data.metadata();
let (_, last) = metadata.cmd.split_at(index);
let (_, last) = data.metadata().cmd.split_at(index);
let (crate_name, _) = last.split_at(last.find(" ").unwrap_or(last.len()));

let process_name = json!({
Expand Down

0 comments on commit 7db5fa8

Please sign in to comment.