Skip to content

Commit

Permalink
add vdso to the pprof blocklist (#12201) (#12213)
Browse files Browse the repository at this point in the history
close #9765, ref #12201

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
  • Loading branch information
3 people committed Jun 15, 2022
1 parent 5443f21 commit bc0dbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/status_server/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ where
let on_start = || {
let guard = pprof::ProfilerGuardBuilder::default()
.frequency(frequency)
.blocklist(&["libc", "libgcc", "pthread"])
.blocklist(&["libc", "libgcc", "pthread", "vdso"])
.build()
.map_err(|e| format!("pprof::ProfilerGuardBuilder::build fail: {}", e))?;
Ok(guard)
Expand Down

0 comments on commit bc0dbd0

Please sign in to comment.