Commit Graph

1669 Commits

Author SHA1 Message Date
d44fdb48d9 tools: record battery from sysprof-cli 2019-06-26 14:26:15 -07:00
a951f1a240 tools: record network stats from sysprof-cli 2019-06-26 14:22:09 -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
0f497d5d1f Updated Spanish translation 2019-06-26 11:02:14 +02:00
198bfd9328 build: install legacy service API xml 2019-06-25 15:07:45 -07:00
572bfc8844 prepare 3.33.3 release 2019-06-25 14:28:26 -07:00
09c457c880 sysprofd: implement org.gnome.Sysprof2 compatability API
This allows the new sysprofd to service requests for older clients
expecting to talk to or.gnome.Sysprof2.
2019-06-25 14:27:43 -07:00
55e624caf9 build: update POTFILES.in 2019-06-25 10:03:42 -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
47337e6c4b add combined battery counter
this is useful for situations where we have multiple batteries inserted
and we might only care about total charge
2019-06-24 10:01:27 -07:00
4792a43887 add rate for charge type 2019-06-24 08:58:16 -07:00
84f135eced libsysprof: add range helper 2019-06-20 13:18:33 -07:00
8d012e83d7 libsysprof: join overlapping ranges 2019-06-19 21:13:33 -07:00
4817e8086f Updated Spanish translation 2019-06-19 12:02:33 +02:00
77dd10668a Update Polish translation 2019-06-16 14:05:02 +02: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
1254b16140 governor: add source to toggle CPU governer while running 2019-06-14 08:03:59 -07:00
fc745767d4 governor: add daemon API and helpers to set CPU governor 2019-06-14 08:03:37 -07:00
c46ac1374b battery: fix battery type in new func 2019-06-13 20:23:03 -07:00
1726a8983f battery: do final poll at stop() time 2019-06-13 20:18:52 -07:00
a5ef58dde6 battery: wait for first battery polling 2019-06-13 20:14:18 -07:00
2ef74062e9 battery: poll batteries immediately after starting 2019-06-13 19:39:16 -07:00
3299c0d41c battery: style cleanup 2019-06-13 19:37:33 -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
555a10ef65 battery: only submit event if battery value changed 2019-06-13 19:04:11 -07:00
13c3bae6df Update Brazilian Portuguese translation 2019-06-14 00:47:10 +00: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
416d0383f2 battery: fix typo 2019-06-12 16:30:17 -07:00
5dbb486512 tracefd: give memfd a descriptive name
This makes it easier to track down from /proc/$pid/fd/.
2019-06-12 11:14:21 -07:00
4a31b934be tracefd: use g_strdup_printf()
I don't like maintaining stack based string allocations unless it's really
a performance savings.
2019-06-12 11:13:44 -07:00
688984d431 whitespace 2019-06-11 18:48:32 -07:00
e97490be16 libsysprof: abstract subprocess usage
For embedding cases, we need a bit more control here so that the
application can be in control of how the process is spawned.
2019-06-11 18:48:28 -07:00
19c2791198 build: fix build on Debian 9 2019-06-11 09:48:41 -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
1b36f92f73 libsysprof-capture: only short-circuit for address translation 2019-06-06 17:49:44 -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
0fbe44f06c libsysprof: use properties for D-Bus attributes 2019-06-06 17:33:16 -07:00
db33d910bb libsysprof-capture: allow NULL only when n_counters == 0 2019-06-06 17:15:10 -07:00