Commit Graph

250 Commits

Author SHA1 Message Date
2035c7e086 build: fix build on debian stable 2019-06-24 21:14:34 -07:00
e8528609ec libsysprof-ui: land new UI design
This comprises a massive rewrite of the UI for browsing captures. We use
the SysprofAid class to scan capture files for content and then auto-
matically add visualizers and details pages.

To avoid breaking things incrementally, we just land this as a very large
commit. Not necessarily ideal, but given the amount of stuff that could
break, this is easier.

As part of this process, we're removing a lot of the surface API so that
we can limit how much we need to maintain in terms of ABI.
2019-06-24 20:52:40 -07:00
a40564cdda zoom: add GtkAdjustment control of zoom manager 2019-06-24 20:17:21 -07:00
8f12ef3c09 build: move .ui files out of ui subdirectory
This has mostly just been annoying, so move them.
2019-06-24 17:09:10 -07:00
565b6ec566 theme: use box-shadow 2019-06-14 17:47:25 -07:00
e9728ad7b6 libsysprof-ui: add timing info to marks display 2019-06-14 13:21:24 -07:00
fab3b84e72 libsysprof-ui: fix spacing 2019-06-14 09:11:04 -07:00
a7832ce0d4 governor: add UI to toggle CPU governor setting 2019-06-14 08:04:24 -07:00
ebcc3f791f libsysprof-ui: add battery graphs 2019-06-13 19:33:48 -07:00
0dc658c478 libsysprof-ui: be more careful adding overhead to y_upper 2019-06-13 19:33:07 -07:00
dcf7bd4a9e libsysprof-ui: discover counter type in line renderer 2019-06-13 19:32:44 -07:00
37960fc0c7 libsysprof-ui: add helper to check for sysprof-3 support 2019-06-13 17:37:59 -07:00
a95287b2d2 libsysprof: show a combined cpu counter by default
We need a way to show the individual counters, but this is a good first
start. To do the combined counters, we need to come up with something that
allows expanding of rows and what not.
2019-06-13 10:53:59 -07:00
1d0a269b80 libsysprof: start on battery charge capture 2019-06-10 21:32:12 -07:00
4cfe4c825d libsysprof-ui: unselect some aids by default 2019-06-07 00:16:57 -07:00
ace73a6f51 libsysprof-ui: add selected property to icon 2019-06-07 00:15:00 -07:00
49127e5b17 libsysprof-ui: also try to connect to D-Bus if pids specified
If we are connecting to an existing process, we want to try to extract
profiling data using D-Bus for that process.
2019-06-06 17:34:12 -07:00
d81890d950 libsysprof-ui: remove profiler menu button 2019-06-04 14:41:14 -07:00
807bff9152 build: fix build on macOS 2019-06-04 14:35:48 -07:00
af32235541 gjs: add gjs source back
This sets various environment variables we need.
2019-06-03 18:01:53 -07:00
5630e1680f build: add -Dlibsysprof option
This gets us closer to being able to only build the capture static library
2019-06-03 12:26:25 -07:00
0d86933ed1 build: only build libsysprof-ui if -Denable_gtk=true 2019-06-03 12:19:45 -07:00
090d1766e3 libsysprof-ui: stop translating 00 2019-05-31 20:57:43 +02:00
fea076a2c8 whitespace 2019-05-29 22:58:26 -07:00
f37b7b168b libsysprof-ui: allow setting notebook tabs always visible 2019-05-29 22:58:21 -07:00
5fd04d9fcb libsysprof-ui: be more flexible in creating displays
This allows us to create a display for a profiler, which is needed in
embedding cases like Builder.
2019-05-29 18:09:57 -07:00
b6685b7e5f libsysprof-ui: allow selecting labels on details page 2019-05-29 15:13:01 -07:00
3556309e86 libsysprof-ui: add cpu info to details page 2019-05-29 15:13:01 -07:00
0dc39cf007 libsysprof-ui: fix initial rendering of zeros 2019-05-29 15:13:01 -07:00
6e3632c0e5 libsysprof-ui: add local symbol decoder source to profiler
This allows us to decode symbols locally at the end of a capture so that
we avoid trying to decode them on a machine without the info.
2019-05-29 15:13:01 -07:00
1940e45bf4 libsysprof-ui: add tooltips for message column 2019-05-29 15:13:01 -07:00
c5e6ef7f2a libsysprof-ui: prefer Time over Offset 2019-05-29 15:13:01 -07:00
acf64b46e6 libsysprof-ui: hide logs view when no logs are present 2019-05-29 15:13:01 -07:00
7a0b5ed404 libsysprof-ui: reload logs when selection changes 2019-05-29 15:13:01 -07:00
5f3a9c0a72 libsysprof-ui: add log view 2019-05-29 15:13:01 -07:00
7202d7aed9 libsysprof-ui: add tree model for log messages 2019-05-29 15:13:01 -07:00
ded0233553 libsysprof-ui: add callgraph loading dialog
This can lag a bit on big profiles, so add a loading page while we generate
the callgraph in a thread.
2019-05-29 15:13:01 -07:00
283c3f5ba5 libsysprof: start on some new aids to select 2019-05-29 15:13:01 -07:00
a4b5a582f4 libsysprof-ui: allow creating aid instance 2019-05-29 15:13:01 -07:00
8c608ffa5e libsysprof-ui: implement GtkBuildable for .ui usage
This allows us to configure an aid with sources.
2019-05-29 15:13:01 -07:00
bfe72c1d77 libsysprof-ui: add simplified time label
This handles the resizing of the numbers better to avoid jitter of the
positioning.
2019-05-29 15:13:01 -07:00
d43137475e libsysprof-ui: add fork to list of marks 2019-05-29 15:13:01 -07:00
7c41a99b99 libsysprof-ui: wire up display for re-recording 2019-05-29 15:13:01 -07:00
c19ae705f7 libsysprof-ui: setup autosize
This helps with the long text to not get prematurely ellipsized
2019-05-29 15:13:01 -07:00
19f8c6b39f replay: add stubs and plumbing to implement a re-record
The goal here is to be able to do a duplicate recording to the previous
with a quick key-combination like Ctrl+R.

We still need to extract the metadata from the capture file and setup
a new profiler, but this gets the mechanics in place.
2019-05-29 15:13:01 -07:00
b5e06604b4 libsysprof-ui: add counters to details 2019-05-29 15:13:01 -07:00
0c1d842aaf libsysprof-ui: link time adjustment for counters 2019-05-29 15:13:01 -07:00
cd7eb1b822 libsysprof-ui: fix default filename to be syscap 2019-05-29 15:13:01 -07:00
0e6227d54c libsysprof-ui: use o for mnemonic 2019-05-29 15:13:01 -07:00
9405294ef1 libsysprof-ui: add visualizer row for cpu frequency 2019-05-29 15:13:01 -07:00