diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-11 20:39:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-11 21:04:45 +0200 |
commit | b7ff3b5ad18001abf19c1b3edb45096b0219d467 (patch) | |
tree | 42e18a591d93a0794c797a4639e817b752803ff7 /Kernel/Thread.h | |
parent | c106451daf76ce05592fa6f8226df9002ab531c0 (diff) | |
download | serenity-b7ff3b5ad18001abf19c1b3edb45096b0219d467.zip |
Kernel: Include the current instruction pointer in profile samples
We were missing the innermost instruction pointer when sampling.
This makes the instruction-level profile info a lot cooler! :^)
Diffstat (limited to 'Kernel/Thread.h')
-rw-r--r-- | Kernel/Thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Thread.h b/Kernel/Thread.h index c3abbed6fd..fcc016f4cf 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -97,7 +97,7 @@ public: const Process& process() const { return m_process; } String backtrace(ProcessInspectionHandle&) const; - Vector<FlatPtr> raw_backtrace(FlatPtr ebp) const; + Vector<FlatPtr> raw_backtrace(FlatPtr ebp, FlatPtr eip) const; const String& name() const { return m_name; } void set_name(const StringView& s) { m_name = s; } |