1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:38:10 +00:00
serenity/Userland/DevTools
Gunnar Beutner 15b69eef66 Profiler: Fix loading profiles which previously would crash the profiler
The profiler tried to be clever when handling process_exit events by
subtracting one from the timestamp. This was supposed to ensure that
events after a process' death would be attributed to the new process
in case the old process used execve(). However, if there was another
event (e.g. a CPU sample) at the exact same time the process_exit
event was recorded the profile would fail to load because we
didn't find the process anymore.

This changes introduces a new problem where samples would be attributed
to the incorrect process if a CPU sample for the old process, a
process_exit as well as a process_create event plus another CPU sample
event for the new process happened at the exact same time. I think
it's a reasonable compromise though.
2021-06-02 09:24:58 +02:00
..
HackStudio CppLanguageServer: Work with a HashMap of Symbols in each document 2021-06-01 22:20:13 +02:00
Inspector LibIPC: Remove unnecessary IPC::ServerConnection::handshake() 2021-05-23 09:53:55 +02:00
IPCCompiler IPCCompiler: Fix declaration of static functions 2021-05-14 22:24:02 +02:00
Playground Playground: Start out with a GUI::Frame on the right hand side 2021-05-26 22:17:47 +02:00
Profiler Profiler: Fix loading profiles which previously would crash the profiler 2021-06-02 09:24:58 +02:00
StateMachineGenerator Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00
UserspaceEmulator Everywhere: Sort out superfluous QuickSort.h imports 2021-05-29 23:41:54 +01:00
CMakeLists.txt DevTools: Move to Userland/DevTools/ 2021-01-12 12:18:55 +01:00