1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 07:07:36 +00:00
serenity/Userland/DevTools/Profiler/CMakeLists.txt
Gunnar Beutner 60d6137e73 Userland: Use /proc/kernel_base to determine the kernel base address
This removes all the hard-coded kernel base addresses from userspace
tools.

One downside for this is that e.g. Profiler no longer uses a different
color for kernel symbols when run as a non-root user.
2021-07-22 21:38:23 +02:00

22 lines
489 B
CMake

serenity_component(
Profiler
RECOMMENDED
TARGETS Profiler
)
set(SOURCES
DisassemblyModel.cpp
main.cpp
IndividualSampleModel.cpp
Process.cpp
Profile.cpp
ProfileModel.cpp
SamplesModel.cpp
TimelineContainer.cpp
TimelineHeader.cpp
TimelineTrack.cpp
TimelineView.cpp
)
serenity_app(Profiler ICON app-profiler)
target_link_libraries(Profiler LibGUI LibDesktop LibX86 LibSymbolication)