Don't implicitly enable interval-based profiling.
This commit is contained in:
parent
f894f74d36
commit
fbb504def6
@ -1112,7 +1112,7 @@ prof_boot0(void)
|
|||||||
opt_prof = true;
|
opt_prof = true;
|
||||||
opt_prof_udump = false;
|
opt_prof_udump = false;
|
||||||
prof_interval = 0;
|
prof_interval = 0;
|
||||||
} else
|
} else if (opt_prof)
|
||||||
prof_interval = (((uint64_t)1U) << opt_lg_prof_interval);
|
prof_interval = (((uint64_t)1U) << opt_lg_prof_interval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user