Commit Graph

8 Commits

Author SHA1 Message Date
280f4b9415 libsysprof: backport autoptr cleanups when necessary 2019-05-29 15:13:00 -07:00
eacdc47c34 libsysprof: fix weak ref usage 2019-05-29 15:13:00 -07:00
05bfc21fce libsysprof: only use sync form for perf counter
We already have async auth workflow, so we only need the synchronous
form here, which makes things a bit less complicated.
2019-05-29 15:13:00 -07:00
0e20e98801 libsysprof: add authorize_async() to authorize bus
We want a single authorization request from the user when
starting a profile, and to do it as early as possible. This
will allow for the local profiler to set this up before
starting things.
2019-05-29 15:13:00 -07:00
ad4ca5faef helpers: add sync helper 2019-05-29 15:13:00 -07:00
fb9e356dbb libsysprof: add sync get_proc variant and fallbacks 2019-05-29 15:13:00 -07:00
1a576aa779 helpers: add fallbacks for perf_event_open
First try the proxy to the service, then fallback to trying in-process.
2019-05-29 15:13:00 -07:00
cd3b4d6538 src: use helpers and add group_fd to remote API 2019-05-29 15:13:00 -07:00