ladybird/DevTools/ProfileViewer
Andreas Kling 19d8c675f1 ProfileViewer: Begin work on a visualization tool for profiles :^)
We begin with a simple treeview that shows a recorded profile.
To record and view a profile of a process with <PID>, simply do this:

$ profile <PID> on
... wait while PID does something interesting ...
$ profile <PID> off
$ cat /proc/profile > my-profile.prof
$ ProfileViewer my-profile.prof
2019-12-12 22:01:06 +01:00
..
main.cpp ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00
Makefile ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00
Profile.cpp ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00
Profile.h ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00
ProfileModel.cpp ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00
ProfileModel.h ProfileViewer: Begin work on a visualization tool for profiles :^) 2019-12-12 22:01:06 +01:00