Commit Graph

1654 Commits

Author SHA1 Message Date
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
8493ed843a Update POTFILES.in 2019-06-06 13:47:31 +02:00
f12f9ed3f4 tests: test we got reasonable address translation 2019-06-05 19:33:13 -07:00
8f18572499 libsysprof-capture: translate jitmaps before samples
So we have valid addresses to translate, we need to translate the jitmap
before we translate samples. Otherwise we likely won't have anything to
translate.
2019-06-05 19:32:42 -07:00
44772d243e libsysprof-capture: fix comparison of translation item 2019-06-05 19:30:15 -07:00
228dc58ff2 tests: add simple test for jitmaps 2019-06-05 19:00:32 -07:00
44fa9500dc tests: be more precise in jitmap tests
I want to make sure we have the right values in/out of there.
2019-06-05 17:47:36 -07:00
84850218ed sysprof-cli: allow disabling perf stacktraces 2019-06-05 16:55:50 -07:00
97ec24ab42 libsysprof-capture: add flush_delay for auto flushing
This can be useful in scenarios where you need to kill the application
using a signal so that data is not lost in the buffer.
2019-06-05 15:12:17 -07:00
0f85e10368 style cleanup 2019-06-05 15:11:24 -07:00
400e5b81bc libsysprof-capture: be more defensive 2019-06-05 15:11:04 -07:00
26c029b7a2 libsysprof-capture: short-circuit empty write 2019-06-05 15:10:48 -07:00
766c27ae90 doap: update maintainer information, website, etc 2019-06-05 13:25:52 -07:00
ec7fa297e7 whitespace cleanup 2019-06-05 13:25:29 -07:00
532972beb6 libsysprof-capture: relicense as BSD-2-Clause-Patent
This allows embedding the static capture library without having to deal
with license incompatibility while retaining the patent clause. We want
as many consumers of the format as makes sense without the restriction
of what kind of app/library/tooling they are.

The application, sysprofd, libsysprof, and libsysprof-ui continue to be
GPLv3+.
2019-06-05 13:25:21 -07:00
ce6ba83ff3 sysprofd: remove debug code 2019-06-05 10:50:52 -07:00