summaryrefslogtreecommitdiff
path: root/Kernel/Profiling.cpp
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-08-08 17:32:34 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-10 11:51:45 +0200
commitf5744a6f2f63ba9f881132227514b9b3f9496b63 (patch)
tree0d8eb80d2df75f42ec76c3a8cad17d4aeaccea68 /Kernel/Profiling.cpp
parentf22532118411c675e5bd1d2487331e27a872a981 (diff)
downloadserenity-f5744a6f2f63ba9f881132227514b9b3f9496b63.zip
Kernel: PID/TID typing
This compiles, and contains exactly the same bugs as before. The regex 'FIXME: PID/' should reveal all markers that I left behind, including: - Incomplete conversion - Issues or things that look fishy - Actual bugs that will go wrong during runtime
Diffstat (limited to 'Kernel/Profiling.cpp')
-rw-r--r--Kernel/Profiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Profiling.cpp b/Kernel/Profiling.cpp
index f7e247f529..ca817afa19 100644
--- a/Kernel/Profiling.cpp
+++ b/Kernel/Profiling.cpp
@@ -61,7 +61,7 @@ void start(Process& process)
executable_path() = process.executable()->absolute_path().impl();
else
executable_path() = {};
- s_pid = process.pid();
+ s_pid = process.pid().value(); // FIXME: PID/TID INCOMPLETE
if (!s_profiling_buffer) {
s_profiling_buffer = RefPtr<KBufferImpl>(KBuffer::create_with_size(8 * MB).impl()).leak_ref();