Commit Graph

325 Commits

Author SHA1 Message Date
2d6906b542 ticks: don't draw final layout if there isn't space
This just helps keep things from geting cut off.
2019-08-01 00:26:02 -07:00
2d69a5ff1c libsysprof-ui: simplify sizing of positioning in visualizers
This simplifies the visualizer sizing by avoiding the expanding sizes
when there is more space available. Doing so allows us to treat all the
sizing uniformly.

We can also make the ticks area a visualizer for more code re-use.
2019-08-01 00:20:31 -07:00
21643c71bf marks: tweak ellipsize to avoid resizes 2019-08-01 00:16:11 -07:00
52e587a0cb libsysprof-ui: use nsec constant 2019-07-31 16:09:49 -07:00
130a283abe rapl: use "Watts" for line displays 2019-07-31 15:55:32 -07:00
12866c4e15 libsysprof-ui: add units display for line graphs 2019-07-31 15:55:19 -07:00
98fd2fe35d rapl: add counters for additonal core/cpu pairs 2019-07-31 15:25:41 -07:00
8712067b8e rapl: add new aid for the RAPL profiler 2019-07-31 15:05:10 -07:00
959261919d libsysprof-ui: add source for energy stats 2019-07-30 15:52:02 -07:00
0378b0727b scrollmap: tweak box generation a bit for safety 2019-07-30 15:17:16 -07:00
c2728b8ada cleanup: remove duplicated NSEC_PER_SEC macros
This switches everything to using a single 64-bit constant for NSEC_PER_SEC
that ensure we're doing 64-bit math everywhere.
2019-07-18 10:22:46 -07:00
96fd7a65b8 procs: show active process count when available 2019-07-01 15:45:41 -07:00
7e078e031f cpu: check to see if we find process or exits 2019-07-01 15:45:24 -07:00
518f422e4f diskstat: set read/write labels for graph 2019-07-01 12:55:21 -07:00
f2c435f75f duplex: allow setting duplex labels 2019-07-01 12:55:21 -07:00
6f6ad38a3b diskstat: add aid to show duplex graph for disk graphs 2019-07-01 12:55:21 -07:00
b19f995ae2 assistant: add aid for diskstats source 2019-07-01 12:55:21 -07:00
145afe825b duplex: make diff of previous value configurable
We might want to use raw values instead of diffs, and this makes that
possible. Doing so could be used for disks, etc.
2019-07-01 12:23:17 -07:00
cb688f7ba1 display: fix layout of frame/separator 2019-06-26 19:48:41 -07:00
22ce2875d1 netdev: add combined counter for all devices (cooked) together 2019-06-26 19:24:38 -07:00
dfa2d46d3d duplex: style tweaks 2019-06-26 19:05:28 -07:00
ed8580cf32 duplex: fix copy pasta 2019-06-26 19:03:38 -07:00
6d4796294e netdev: start on netdev aid to display network graphs 2019-06-26 18:58:31 -07:00
00997fbd7f netdev: add source for network device information
This source parses the /proc/net/dev file to get basic statistics about
network throughput on the system.

We still need a specialized Aid and Visualizer so that we can render the
counter data in a more useful format.
2019-06-26 14:18:21 -07:00
7e403af624 build: remove dead code 2019-06-25 10:01:52 -07:00
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