Commit Graph

15 Commits

Author SHA1 Message Date
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
807bff9152 build: fix build on macOS 2019-06-04 14:35:48 -07:00
b7d2ef35be libsysprof: ensure type exists for gjs 2019-06-03 19:02:50 -07:00
8a246d4453 libsysprof: create hook for supplemental writer data 2019-05-29 15:13:01 -07:00
7bec0d7698 libsysprof: make sure we have a SysprofSource 2019-05-29 15:13:01 -07:00
404317d49d libsysprof: implement various serialization hooks 2019-05-29 15:13:01 -07:00
974cbf5130 libsysprof: add helper to create profiler from capture reader
This will look at what was in the reader before and create a new local
profiler from that. This still needs to add support for restoring info
from sources which need to be inflated.
2019-05-29 15:13:01 -07:00
6a5c00b446 libsysprof: store some information about the profile in keyfile
This gets added as a metadata chunk to the capture file so that we can
use it later to recreate the session. The goal is to add something like
ctrl+r to run the capture again with identical settings to the previous
capture.
2019-05-29 15:13:01 -07:00
dbc47a3a69 libsysprof: log source failure to console 2019-05-29 15:13:01 -07:00
c204081cc0 libsysprof: add vfunc to modify spawn arguments 2019-05-29 15:13:01 -07:00
53a337bf00 whitespace 2019-05-29 15:13:00 -07:00
c51e12c497 libsysprof: cancel if we fail auth
To not do this would leave us in a very bad loop asking for too many
pieces of information.
2019-05-29 15:13:00 -07:00
e822128121 libsysprof: authorize proxy during start 2019-05-29 15:13:00 -07:00
53c718b708 build: rename all symbols to use sysprof_ as prefix
As we gain in usage, we need to be more careful about using a prefix
that will not collide with other symbols. So version 3 of our ABI will
change to using Sysprof/SYSPROF/sysprof as the various prefixes.

The soname/api version bump will happen later on this branch so that
things are easier to test up until then.
2019-05-29 15:12:59 -07:00