Commit Graph

3609 Commits

Author SHA1 Message Date
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
e74a7eb0e3 libsysprof: add symbols to capture 2023-07-21 20:49:25 -07:00
413772a263 build: update manifest 2023-07-21 20:07:45 -07:00
00f2db291c build: update manifest 2023-07-21 20:04:35 -07:00
db31ca62d7 build: update manifest 2023-07-21 19:53:27 -07:00
76c2d0007d Merge branch 'wip/chergert/libsysprof-analyze'
This merges a mostly completed rewrite of Sysprof using all the new GTK
features we can muster.

In particular, we now have SysprofDocument which can be used to read
documents instead of SysprofCaptureReader for a more document-oriented
experience. It's mmap-based and has significantly more indexing
capabilities for new features.

The recording process still needs a bit more work, along with opening
documents and custom debug-dirs.

Some applications are expected to break, such as gnome-builder which
will have to stop using the now-extinct libsysprof-ui library. Instead
applications should open the capture files with Sysprof directly.
2023-07-21 17:06:39 -07:00
35b15b93d0 sysprof: add CPU counters to cpu section 2023-07-21 16:55:45 -07:00
017e51cb62 libsysprof: return null for empty description
Just to decrease chances this causes tooltips to display.
2023-07-21 16:55:27 -07:00
5fdef90f4d libsysprof: fix tx counter id 2023-07-21 15:58:03 -07:00
f0ca95b38b sysprof: use layer factories to create charts 2023-07-21 15:53:09 -07:00
93e4162aa3 sysprof: add SysprofChartLayerFactory
This lets us create layers automatically from listmodel.
2023-07-21 15:52:49 -07:00
e571f167dd sysprof: janitorial cleanup 2023-07-21 14:11:08 -07:00
1d9b346a49 libsysprof: add some cryptography libraries 2023-07-21 13:14:15 -07:00
42f9f99e50 libsysprof: upate categories.txt 2023-07-21 13:06:26 -07:00
96402c2381 libsysprof: update categories.txt 2023-07-21 12:53:21 -07:00
450c1402b1 libsysprof: tag more binaries with nicks 2023-07-21 12:53:11 -07:00
6ce5b9d1e9 libsysprof: add more categories 2023-07-21 12:52:58 -07:00
81c701c953 libsysprof: update categories.txt 2023-07-21 11:56:00 -07:00
67a284c8b4 libsysprof: allow comments with # 2023-07-21 11:55:46 -07:00
a99a89782a libsysprof: fix category inheritance
Move the bit lower so we can use bitfields properly, and add an unmask
helper to avoid all the 0xFF crap.
2023-07-21 10:51:41 -07:00
ff5c0e4927 libsysprof: assign cairo to paint 2023-07-21 10:35:18 -07:00
572b2bc730 sysprof: fix sidebar icons 2023-07-21 09:57:20 -07:00
5c2a1f2016 libsysprof: fix cost accounting for categories
We don't want to derive the total count from each summary, but instead
the total count of nodes w/ is_toplevel set.
2023-07-21 09:46:12 -07:00
76c0a8ece7 libsysprof: update categories.txt 2023-07-20 17:46:04 -07:00
ad5fc5f372 libsysprof: add locking category 2023-07-20 17:45:55 -07:00
058f14a7cd sysprof: generate summaries and display in utility pane 2023-07-20 17:31:36 -07:00
8e861b222d libsysprof: add category-name helper
Just to ease translations
2023-07-20 17:31:15 -07:00
1ff0cd9da4 sysprof: make right sidebar larger to be more useful 2023-07-20 17:30:57 -07:00
d13d2cb479 sysprof: drop signals category
Not really all that useful currently.
2023-07-20 17:30:44 -07:00
90c6d87a8c libsysprof: implement callgraph frame summaries 2023-07-20 17:02:56 -07:00
0f70dd1d68 libsysprof: keep count in callgraph node
I don't want this to overlap with augmentation data, or be augmentation
data specific, so just keep our own private copy of this data in the
node to do the sort of things we want with it (such as summaries).
2023-07-20 17:02:34 -07:00
a75429241e libsysprof: simplify summary generation
This still doesn't actually do anything, just the scaffolding.
2023-07-20 16:36:29 -07:00
070b7f5907 tests: drop old tests directory 2023-07-20 16:21:49 -07:00
eabf9797c7 tests: remove low-value tests
These are already dealt with in other ways or just not useful given now
we process things now.
2023-07-20 16:21:06 -07:00
ff40f7d37d tests: move tests to appropriate libraries 2023-07-20 16:20:52 -07:00
b8f39ef20a build: fix library name for libsysprof-6.so 2023-07-20 16:11:14 -07:00
4a8d5007e5 libsysprof: add scaffolding to perform category summaries
The goal here is to summarize the categories starting from a specific
frame.
2023-07-20 16:04:42 -07:00
9400757821 libsysprof: make presentation type one above uncategorized
That way we can do > presentation checks.
2023-07-20 16:03:56 -07:00
79c49fca02 libsysprof: track which nodes are toplevel
We used to do this, and now we have space for it here as we added the
categorization field.
2023-07-20 16:03:37 -07:00
dfa893f06a libsysprof: ensure descendants view is categorized 2023-07-20 15:31:50 -07:00