Originally posted by Vistaus
View Post
Announcement
Collapse
No announcement yet.
GNOME's Sysprof Adds FlameGraphs To Better Visualize Output
Collapse
X
-
- Likes 1
-
Originally posted by elduderino View Post
Author of Sysprof here.
You can get a Nightly flatpak of Sysprof from GNOME's nightly repository. It still requires that you have sysprofd on the host, but most distributions have that already. I was careful to keep it working with older versions of the "host profiler daemon".
The only caveat here is that when running the Sysprof UI from Flatpak, it can be fairly annoying to resolve symbols on the host, and we do our best to model the mount namespace of recorded processes, our own process, and the host to crack open the right ELF to symbolize. Operating systems which build with frame pointers are certainly going to yield better results.
GNOME OS nightly's in developer mode also bundle Sysprof.
That said, there are *plenty* of great tools in KDE which Sysprof takes inspiration from. Our malloc tracer works very similar to KDE's heaptrack under the hood.
Hotspot and kcachegrind are also great tools.
I think the most valuable thing on my mind while creating Sysprof was "how do I get all this information in one place" so I'm not constantly jumping between tools trying to correlate information.
- Likes 2
Comment
-
elduderino
I'm actually not a developer at the moment but am currently learning a glut of new things. I was fascinated by seeing how everything is linked and to what, it struck me as a diagnostic tool, yet I did no know that its main aim was at developers which hilariously is quite obviously the case. I had to boot into Artix to actually check out sysprof which was not installed by default, when it came to zooming in on graphs I could only zoom so far before the application would crash, didn't grab the flatpak cause of this. Sysprof is not easily accessible on Slackware but I know if I dedicated time I could get a lot of things properly built for it, Slackware for the most part is degnomed, I still have a lot of things from gnome installed like gvfs, gnome-disk-utility, and of older GNOME based software.
To my chagrin I was fascinated by it in the same way as I am with Xaos and Mandebulber, yet seeing how processes and from where and how they were linked and shown in graph. I wish not to waste your time.
What you have there is an incredible project.Last edited by creative; 27 August 2023, 04:53 AM.
Comment
-
Originally posted by creative View PostProbably the most intelligent thing to do if I want to try this out is to get a GNOME based desktop distribution and fire it up in a vm so I'm not cluttering my box.
That allows you to easily uninstall packages afterwards. Now, config in your home dir is a different matter. I recommend chezmoi for that.
Comment
-
Vorpal
Thanks, as small as my Artix install is right now I'd most likely just use kbackup. Even then getting up a working installation from command line can be done very quickly if I seriously borked stuff. Artix is basically just my auxiliary fallback from my daily driver.
Definitely some considerations to check into though.
Comment
Comment