1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-27 20:12:34 +00:00
serenity/Userland/DevTools/Profiler/CMakeLists.txt
Gunnar Beutner eb798d5538 Kernel+Profiler: Improve profiling subsystem
This turns the perfcore format into more a log than it was before,
which lets us properly log process, thread and region
creation/destruction. This also makes it unnecessary to dump the
process' regions every time it is scheduled like we did before.

Incidentally this also fixes 'profile -c' because we previously ended
up incorrectly dumping the parent's region map into the profile data.

Log-based mmap support enables profiling shared libraries which
are loaded at runtime, e.g. via dlopen().

This enables profiling both the parent and child process for
programs which use execve(). Previously we'd discard the profiling
data for the old process.

The Profiler tool has been updated to not treat thread IDs as
process IDs anymore. This enables support for processes with more
than one thread. Also, there's a new widget to filter which
process should be displayed.
2021-04-26 17:13:55 +02:00

14 lines
325 B
CMake

set(SOURCES
DisassemblyModel.cpp
main.cpp
IndividualSampleModel.cpp
Process.cpp
ProcessPickerWidget.cpp
Profile.cpp
ProfileModel.cpp
ProfileTimelineWidget.cpp
SamplesModel.cpp
)
serenity_app(Profiler ICON app-profiler)
target_link_libraries(Profiler LibGUI LibDesktop LibX86 LibCoreDump)