diff options
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 163705025d..6563effc3f 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -603,7 +603,7 @@ void Scheduler::timer_tick(const RegisterState& regs) if (Process::current->is_profiling()) { SmapDisabler disabler; - auto backtrace = Thread::current->raw_backtrace(regs.ebp); + auto backtrace = Thread::current->raw_backtrace(regs.ebp, regs.eip); auto& sample = Profiling::next_sample_slot(); sample.pid = Process::current->pid(); sample.tid = Thread::current->tid(); |