Commit Graph

3648 Commits

Author SHA1 Message Date
6e4b0ace8b libsysprof: add sysprof_document_list_dbus_messages()
Another indexed helper to get just dbus messages.
2023-07-27 13:43:02 -07:00
3c105057c7 libsysprof: add message-type property 2023-07-27 13:42:44 -07:00
7b9c92985a sysprof-cli: allow profiling session and system buses 2023-07-27 12:34:19 -07:00
3fc8a03e40 sysprof-agent: allow profiling session and system busses 2023-07-27 12:34:06 -07:00
2800a45939 sysprofd: remove version 2 policy
This existed for long enough to transition, no more need for it.
2023-07-27 12:22:31 -07:00
8dd2d3d73c libsysprof: add support for dbus messages as a document type 2023-07-27 12:22:31 -07:00
f46d690a28 libsysprof-capture: add support for DBusMessage frames
These are still captive to the max size of a SysprofCaptureFrame, but
most messages fit into that.
2023-07-27 12:22:31 -07:00
50c203efe2 Update Georgian translation 2023-07-27 04:39:42 +00:00
2d16166fb6 sysprof: fix energy section type lookups 2023-07-26 21:18:05 -07:00
33fb1b6663 sysprof: add utility for callgraph sections 2023-07-26 18:05:55 -07:00
e585be1459 libsysprof: add self tracking of sysprof libs 2023-07-26 18:05:36 -07:00
70d151b5e8 sysprof: add graphics section 2023-07-26 17:52:54 -07:00
b37e31b855 sysprof: cleanup filtering of related energy counters 2023-07-26 16:26:37 -07:00
ecacbc8c77 sysprof: start on an energy section via RAPL/Battery Charge counters 2023-07-26 12:07:09 -07:00
d8483691dc libsysprof: use non-breaking space between units 2023-07-26 11:52:26 -07:00
379e2ec828 sysprof: add overview charts for various sections 2023-07-26 11:07:59 -07:00
8b7900ee9f sysprof: grid lines for various tables 2023-07-26 10:25:11 -07:00
58b47cbe19 libsysprof: remove some weak pointer usage
These are incredibly slow and just not worth the overhead of using weak
pointers for everything.

Fixes some jank on filtering function symbols.
2023-07-25 20:32:21 -07:00
64a5ab0018 sysprof: add storage counters 2023-07-25 20:09:38 -07:00
b5ea549842 sysprof: update styling for counters columns 2023-07-25 20:09:31 -07:00
7599ab698e sysprof: add counter values for network section 2023-07-25 19:49:41 -07:00
29a1ec952f libsysprof: add API to lookup a process by PID 2023-07-25 19:31:40 -07:00
ab59c7e627 sysprof: force width-request for functions column
That way it can't shrink while filtering.
2023-07-25 19:22:51 -07:00
90dcf98248 sysprof: allow filtering functions 2023-07-25 18:00:18 -07:00
25f504e6e7 sysprof: start on storage section 2023-07-25 17:28:58 -07:00
3d836505f0 sysprof: tweaks to network section style 2023-07-25 17:28:49 -07:00
cb067ac3c1 sysprof: fix line fill for flipped y 2023-07-25 17:15:49 -07:00
8cc7bc8bcb sysprof: start on network section 2023-07-25 17:15:47 -07:00
48966cda63 sysprof: add pair helper 2023-07-25 17:03:34 -07:00
4822b02f2e sysprof: clear some models when changing callgraph view
This is just more attempt to avoid some listmodel issues.
2023-07-25 14:16:59 -07:00
24fa82f8ee sysprof: dont autoselect descendants
It makes focus confusing when loading Sysprof.
2023-07-25 14:16:24 -07:00
471e7205aa sysprof: clear focus when setting model
We seem to run into some weird ownership issues when there is focus during
the transition. Just work around it a bit for now.
2023-07-25 14:08:57 -07:00
f416b2f4ff sysprof: use non-breaking space between value and unit 2023-07-25 10:41:56 -07:00
a0ce83eead libsysprof: provide build-id in MMAP2 event to capture writer
We may not always get this value (in fact, I can't seem to actually get
the Kernel to provide it to me locally), but should we actually get it
this will send that along to the capture writer so it may add a @build-id\0
tail to the SysprofCaptureMap frame.
2023-07-24 17:31:51 -07:00
a7fe9abb19 libsysprof-capture: add map variant with build-id
This allows tacking on suplimental data to the capture with a build-id so
that our SysprofDocumentMmap can read it. The format is @build-id\0 after
the trailing \0 of the filename in a SysprofCaptureMap frame.
2023-07-24 17:30:07 -07:00
dfd81f1ecb libsysprof-capture: ensure trailing bit is zero
This ensures situations that are not perfectly aligned can still be 1-off
checked for a trailing \0 without scanning.
2023-07-24 17:28:46 -07:00
d1ae6b7b4a sysprofd: remove legacy v2 bits 2023-07-24 16:33:04 -07:00
85344b4963 libsysprof: handle mmap2 records
We still need to add an additional capture writer so that we can keep the
build-id around, but this gets the mechanics in place to handle the
PERF_EVENT_MMAP2 event type.
2023-07-24 16:32:58 -07:00
5f5868c060 libsysprof: add control structure for mmap2 events 2023-07-24 15:34:35 -07:00
29772e7ac2 sysprofd: add proxy support for mmap2/build_id
We will want to be able to open perf event streams with these options so
that we can get the build-id extracted from an ELF without having to rely
on parsing it at resolution time.

Additionally, it could give us an option for live-decoding at some point
in userspace without having to write the major DWARF capture data to disk.
2023-07-24 15:30:16 -07:00
0fe69dcc68 sysprof: use GtkListView for counters rows 2023-07-24 15:12:32 -07:00
732511076c libsysprof-capture: fix a 32-bit cast warning 2023-07-23 18:16:59 -07:00
49a17d5339 libsysprof: fix format of 64-bit integer 2023-07-23 18:16:59 -07:00
e4649a4879 Update Ukrainian translation 2023-07-23 18:36:55 +00:00
3119cc1cdf sysprof: insert space before unit 2023-07-22 22:04:04 -07:00
f646fe675f Update Georgian translation 2023-07-23 03:44:09 +00:00
861d78dfd1 sysprof: add summary of marks with avg/min/max/median 2023-07-22 16:43:32 -07:00
91d48b87d6 libsysprof: calculate min/max/avg/median durations for marks 2023-07-22 16:43:32 -07:00
f2ba5c2ef5 Update POTFILES.in 2023-07-22 15:28:36 +02:00
def9d5f47d sysprof: put frequency above usage
They're just easier to read that way since frequency jumps around more.
2023-07-21 22:58:11 -07:00