Commit Graph

375 Commits

Author SHA1 Message Date
d649d42aed libsysprof-analyze: add equality function
This is helpful to see if two frames are the same underlying data frame.
2023-07-13 18:02:21 -07:00
36414c8ec3 libsysprof-analyze: add some helper names to frames 2023-07-13 17:41:20 -07:00
0bc18816d8 libsysprof-analyze: remove 32-bit time_offset optimization
This simply isn't worth the memory saves for the loss of precision. Just
use a 64-bit and store the actual time offset.
2023-07-13 14:36:40 -07:00
f39723c2e6 libsysprof-analyze: add equal func for timespan 2023-07-13 11:04:01 -07:00
7c02b0f62c libsysprof-analyze: include CPU core-id 2023-07-13 08:43:49 -07:00
52090e1f77 libsysprof-analyze: add marks property 2023-07-12 18:02:10 -07:00
78a17d5d52 libsysprof-analyze: add API to get CPU info as objects
This can be handy to use from UI so we can bind it to UI elements.
2023-07-12 11:24:18 -07:00
6075a0cd91 build: fix log domains 2023-07-11 13:32:09 -07:00
8c3fef768d libsysprof-analyze: expose properties for mmaps and mounts 2023-07-10 16:18:42 -07:00
77a305f3bf libsysprof-analyze: runtime protection against NULL names
Shouldn't happen, but at least don't crash.
2023-07-10 14:35:38 -07:00
a4276f5b8f libsysprof-analyze: allow two pointers for augmentation
This affords us the ability to shove memory statistics in the inline
augmentation area for memprof data.
2023-07-10 14:15:03 -07:00
d47a7b0791 libsysprof-analyze: add process title including PID 2023-07-10 13:42:56 -07:00
f003482afb libsysprof-analyze: update end-times after process pool is created
These largely get created when processing the load of various document
pieces. Wait until the end so that we actually have something to update.
2023-07-10 13:31:13 -07:00
a08a14374b libsysprof-analyze: cleanup various swap bytes code 2023-07-10 12:21:00 -07:00
26ceab43f5 libsysprof-analyze: ensure end time is > begin time 2023-07-10 12:15:13 -07:00
c0b46530a4 libsysprof-analyze: fix various swap calculations 2023-07-10 12:10:49 -07:00
3accd82af2 libsysprof-analyze: add property for compressed status 2023-07-09 15:34:43 -07:00
0a379647dd libsysprof-analyze: add size property for files 2023-07-08 13:08:57 -07:00
d8030ebf8b libsysprof-analyze: ensure we inflate Metadata objects 2023-07-08 12:45:41 -07:00
052f44ccb0 libsysprof-analyze: expose metadata as a property of Document 2023-07-08 12:40:50 -07:00
72c6b06102 libsysprof-analyze: fix type in constructor 2023-07-08 11:57:57 -07:00
d993bf3d37 libsysprof-analyze: expose logs as document property
# Conflicts:
#	src/libsysprof-analyze/sysprof-document.c
2023-07-06 16:53:38 -07:00
f772b82f66 libsysprof-analyze: expose files as a property 2023-07-06 15:53:48 -07:00
b3f8b45b16 libsysprof-analyze: add duration property to process
This is a bit easier to bind to a chart since we need the expression as
a duration rather than the end time.
2023-07-06 15:33:56 -07:00
a999a8a455 libsysprof-analyze: expose processes as property 2023-07-06 15:20:11 -07:00
51abce735c libsysprof-analyze: ensure exit-time is >= spawn time 2023-07-06 15:00:59 -07:00
f7bdebe1a8 libsysprof-analyze: ensure all process info get an exit time 2023-07-06 14:59:08 -07:00
58a089fb94 libsysprof-analyze: expose exit-time as a property 2023-07-06 14:58:53 -07:00
2b29ce8e73 libsysprof-analyze: record exit time of processes
This will allow us to treat them as a duration in a chart.
2023-07-06 14:52:02 -07:00
65a567f0d1 libsysprof-analyze: cleanup some signed-int bswap 2023-07-06 14:51:41 -07:00
c0a7a94d52 libsysprof-analyze: add flag to ignore system libraries 2023-07-06 12:13:23 -07:00
5884636da5 libsysprof-analyze: add some string helpers 2023-07-06 11:32:23 -07:00
7f23fd5e9e libsysprof-analyze: pre-sort frames during loading
That way we can be sure that we only have to look forward to find closing
pairs of operation (such as allocation/free, or appended capture data from
controlfd ring buffers).
2023-07-06 10:19:55 -07:00
9fd20c306f libsysprof-analyze: warn on non-aligned or short-frames
And bail doing any further processing on the capture.
2023-07-06 10:18:52 -07:00
7d93b9f581 libsysprof-analyze: add stack traces w/o kernel context
This restores the functionality we had previously for user vs kernel.
2023-07-05 18:06:42 -07:00
68cda70138 libsysprof-analyze: add format helper 2023-07-05 17:53:44 -07:00
36aa121607 libsysprof-analyze: helper to list traceables by string search
This will let you take a callgraph and create a new GListModel containing
the original traceables but filtered with something like "_sysprof_*" to
get all traceables containing functions starting with "_sysprof_".
2023-07-05 16:53:44 -07:00
9263624fa0 libsysprof-gtk: add track for samples with context switches 2023-07-05 16:31:45 -07:00
2e0f046390 libsysprof-analyze: add aggregate marks by group
This is handy so that we can show aggregate results in other places without
using a FlattenListModel which can mess up event ordering.
2023-07-05 16:07:07 -07:00
9481c8e772 libsysprof-analyze: add duration helper 2023-06-30 15:02:46 -07:00
d8ba258051 libsysprof-analyze: give SysprofDocument a title 2023-06-30 13:23:54 -07:00
5220c6bc21 libsysprof-analyze: add getters for min/max value 2023-06-29 14:14:05 -07:00
756e647e21 libsysprof-analyze: add sysprof_document_find_counter()
This allows finding a specific counter without having to traverse them
all from consumer code.
2023-06-29 10:36:40 -07:00
4efb0abbf8 libsysprof-analyze: give counter values access to type
Otherwise they won't know how to return the proper value to callers.
2023-06-27 15:52:51 -07:00
e15050b568 libsysprof-analyze: fix calculation of number of counters 2023-06-27 13:54:04 -07:00
26346ec790 libsysprof-analyze: sort counter values by time 2023-06-27 13:00:33 -07:00
a880d02a84 libsysprof-analyze: remove debug code 2023-06-27 12:37:23 -07:00
886ff654a1 libsysprof-analyze: calculate counter range after adding values
Otherwise we are just calculating a null set.
2023-06-27 12:19:56 -07:00
514f913f40 libsysprof-gtk: use 0 instead of -inf/inf 2023-06-27 10:59:00 -07:00
696205aaf2 libsysprof-gtk: get expressions for x/y of counter values 2023-06-26 18:14:25 -07:00