Skip to content

Commit

Permalink
Merge pull request #234 from NuriAmari/master
Browse files Browse the repository at this point in the history
Add parentheses around thread id to prevent diff flamegraph
  • Loading branch information
benfred authored Apr 26, 2020
2 parents 929f213 + 92086dc commit c98a658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fn record_samples(pid: remoteprocess::Pid, config: &Config) -> Result<(), Error>

if config.include_thread_ids {
let threadid = trace.format_threadid();
trace.frames.push(Frame{name: format!("thread {}", threadid),
trace.frames.push(Frame{name: format!("thread ({})", threadid),
filename: String::from(""),
module: None, short_filename: None, line: 0, locals: None});
}
Expand Down

0 comments on commit c98a658

Please sign in to comment.