зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1685938 - Remove unused parameters in DoPeriodicSample - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D101543
This commit is contained in:
Родитель
40fdf59f83
Коммит
30c1777768
|
@ -2258,8 +2258,6 @@ static void DoSyncSample(PSLockRef aLock, RegisteredThread& aRegisteredThread,
|
|||
// is `aSamplePos`, we can write the rest to `aBuffer` (which may be different).
|
||||
static inline void DoPeriodicSample(PSLockRef aLock,
|
||||
RegisteredThread& aRegisteredThread,
|
||||
ProfiledThreadData& aProfiledThreadData,
|
||||
const TimeStamp& aNow,
|
||||
const Registers& aRegs, uint64_t aSamplePos,
|
||||
ProfileBuffer& aBuffer) {
|
||||
// WARNING: this function runs within the profiler's "critical section".
|
||||
|
@ -3424,8 +3422,7 @@ void SamplerThread::Run() {
|
|||
mSampler.SuspendAndSampleAndResumeThread(
|
||||
lock, *registeredThread, now,
|
||||
[&](const Registers& aRegs, const TimeStamp& aNow) {
|
||||
DoPeriodicSample(lock, *registeredThread,
|
||||
*profiledThreadData, now, aRegs, samplePos,
|
||||
DoPeriodicSample(lock, *registeredThread, aRegs, samplePos,
|
||||
localProfileBuffer);
|
||||
|
||||
// For "eventDelay", we want the input delay - but if
|
||||
|
|
Загрузка…
Ссылка в новой задаче