mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
571c2320da8e6b534c60d9fda77db01f3131fbed
This is a simple cache that keeps x,y pairs for use when drawing visualizers. To keep this generic, and save on memory, we simply store the x,y coordinates as floats between 0.0 and 1.0. This saves us roughly 50% on each data point over the 2 8-byte numbers we would otherwise store. Obviously, we could take this further and make some fancy index storage with run-length-encode values, but this should work for now and allow us to get more exotic later.
Sysprof is a sampling profiler that uses a kernel module to generate
stacktraces which are then interpreted by the userspace program
"sysprof".
See the Sysprof homepage:
http://sysprof.com/
for more information
Questions, patches and bug reports should be sent to the sysprof
mailing list:
sysprof-list@gnome.org
The list is archived here:
https://mail.gnome.org/archives/sysprof-list/
Debugging symbols
- The programs and libraries you want to profile should be compiled
with -fno-omit-frame-pointer and have debugging symbols available,
or you won't get much usable information.
Description
Languages
C
98.9%
Meson
1%