Commit Graph

1620 Commits

Author SHA1 Message Date
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
e8b9d19f92 libsysprof: watch bus name changes for target bus peer 2019-06-04 18:51:12 -07:00
5402074c53 tools: add --gnome-shell option to sysprof-cli
This can be used to connect to newer GNOME Shell versions that have
profiling integrated.
2019-06-04 15:10:51 -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
af2a17daa5 polkit: try harder to make polkit optional on non-Linux
We want the viewer to be usable on Mac/Windows/FreeBSD, even if our
profiler tooling isn't (yet).

Another option could be to do a simplified viewer window for those
platforms, but I think that is more work to maintain than abstracting
some of the stuff better in libsysprof.
2019-06-04 14:28:06 -07:00
dcd1a9fbcf libsysprof: allow changing envvar from init and after 2019-06-03 19:09:30 -07:00
b7d2ef35be libsysprof: ensure type exists for gjs 2019-06-03 19:02:50 -07:00
af32235541 gjs: add gjs source back
This sets various environment variables we need.
2019-06-03 18:01:53 -07:00
d25975cf89 examples: only use sched_getcpu() on Linux 2019-06-03 17:29:47 -07:00
c3915a72f2 build: always install capture headers 2019-06-03 12:52:35 -07:00
9ccc35b9e4 po: ignore po if only building capture library 2019-06-03 12:44:05 -07:00
3179658daa build: check ftruncate result 2019-06-03 12:41:48 -07:00
7df9221f8b tools: check result of write
and also use the platform helpers
2019-06-03 12:40:48 -07:00
690bf90a14 build: disable some tests w/o libsysprof 2019-06-03 12:32:13 -07:00
ac1d9e4694 build: disable cli tool when no libsysprof is present 2019-06-03 12:29:48 -07:00
047442aa1b build: make some dependencies optional based on config options 2019-06-03 12:28:37 -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
dbb6b9143f examples: add example app for marks 2019-06-03 11:39:56 -07:00
3a98938aa4 Updated Spanish translation 2019-06-03 14:49:04 +02:00
e646da135e Update Polish translation 2019-06-02 14:35:53 +02:00
bf059cb109 Update POTFILES.in 2019-05-31 21:00:44 +02: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
cb4aed73bc build: don't install sysprof-cat and sysprof-dump
At least for now
2019-05-29 16:56:57 -07:00
0a81d1a93d libsysprof: lower dazzle requirement 2019-05-29 16:47:34 -07:00
7c75210748 build: bump version number for new features
This will let us more strictly check things from Builder.
2019-05-29 15:18:59 -07:00
4bfcef7d82 src: add Capabilities property to profiler 2019-05-29 15:13:01 -07:00
a74e6daa3b libsysprof: use a{sv} for future profiler specific options
We may need this in the future to send backend-specific options to the
profiler peer.
2019-05-29 15:13:01 -07:00
62c9057089 src: use double quotes for XML 2019-05-29 15:13:01 -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