mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Fix threaded heap profile bug in pprof.
Fix ReadThreadedHeapProfile to pass the correct parameters to AdjustSamples.
This commit is contained in:
parent
a2260c95cd
commit
7c17e1670d
1 changed files with 1 additions and 1 deletions
|
|
@ -4167,7 +4167,7 @@ sub ReadThreadedHeapProfile {
|
|||
my $thread = $2;
|
||||
my ($n1, $s1, $n2, $s2) = ($3, $4, $5, $6);
|
||||
my @counts = AdjustSamples($sample_adjustment, $sampling_algorithm,
|
||||
$n1, $s2, $n2, $s2);
|
||||
$n1, $s1, $n2, $s2);
|
||||
if ($thread eq "*") {
|
||||
AddEntries($profile, $pcs, FixCallerAddresses($stack), $counts[$index]);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue