Commit Graph

1492 Commits

Author SHA1 Message Date
c19ae705f7 libsysprof-ui: setup autosize
This helps with the long text to not get prematurely ellipsized
2019-05-29 15:13:01 -07:00
7fd8ca4c8f sysprofd: make sysprofd exit after 120 seconds of inactivity 2019-05-29 15:13:01 -07:00
9229e41976 libsysprof: allow auto-start of sysprof3
We don't need to allow auth here, but we do need to allow auto-start.
2019-05-29 15:13:01 -07:00
19f8c6b39f replay: add stubs and plumbing to implement a re-record
The goal here is to be able to do a duplicate recording to the previous
with a quick key-combination like Ctrl+R.

We still need to extract the metadata from the capture file and setup
a new profiler, but this gets the mechanics in place.
2019-05-29 15:13:01 -07:00
2d500bebe2 tools: add some timing information to dump utility 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
b5e06604b4 libsysprof-ui: add counters to details 2019-05-29 15:13:01 -07:00
0c1d842aaf libsysprof-ui: link time adjustment for counters 2019-05-29 15:13:01 -07:00
cd7eb1b822 libsysprof-ui: fix default filename to be syscap 2019-05-29 15:13:01 -07:00
0e6227d54c libsysprof-ui: use o for mnemonic 2019-05-29 15:13:01 -07:00
9405294ef1 libsysprof-ui: add visualizer row for cpu frequency 2019-05-29 15:13:01 -07:00
b47dc40579 libsysprof-ui: add dashed line support 2019-05-29 15:13:01 -07:00
5331e8bd7f hostinfo: actually parse cpu freq details 2019-05-29 15:13:01 -07:00
a6848d1f4d libsysprof-ui: put wall time first 2019-05-29 15:13:01 -07:00
47dd9ba78c tweak colors for foreground 2019-05-29 15:13:01 -07:00
b27cef17d8 tests: stub out a tool to print thread/pid information 2019-05-29 15:13:01 -07:00
a6a7b10044 libsysprof-ui: simplify text layout 2019-05-29 15:13:01 -07:00
87663fc10f libsysprof-ui: style improvements 2019-05-29 15:13:01 -07:00
4067b5e592 libsysprof-capture: improve zero'ing when reading back 2019-05-29 15:13:01 -07:00
cfab4b2d73 libsysprof: skip when no writer is available 2019-05-29 15:13:01 -07:00
567f8a3a0f libsysprof-capture: shorten names by removing Frame 2019-05-29 15:13:01 -07:00
684aa1aba6 libsysprof-ui: use org.gnome.Shell 2019-05-29 15:13:01 -07:00
54c39172df libsysprof-ui: fix dereference after steal
This is undefined behavior and most go right to left
2019-05-29 15:13:01 -07:00
e42f0e2f84 libsysprof-ui: add marks message 2019-05-29 15:13:01 -07:00
27e75cf61b libsysprof: improve some defaults 2019-05-29 15:13:01 -07:00
63d3ea12ed tools: add --use-trace-fd option 2019-05-29 15:13:01 -07:00
ef31409b77 libsysprof-ui: shrink marks row 2019-05-29 15:13:01 -07:00
b34d781cdd libsysprof-ui: try to keep text aligned on 5/8's split 2019-05-29 15:13:01 -07:00
bc21b47315 libsysprof-ui: add section for counter values 2019-05-29 15:13:01 -07:00
b854a71804 libsysprof-ui: remove unused columns 2019-05-29 15:13:01 -07:00
2e1a6a21de libsysprof-ui: teach marks model how to use counters
We can use this for an alternate view with counters instead of marks.
2019-05-29 15:13:01 -07:00
a8cbb45e7a libsysprof-ui: make function name more descriptive 2019-05-29 15:13:01 -07:00
eecb3192ec libsysprof-ui: use custom cell renderer for progress + .2 precision 2019-05-29 15:13:01 -07:00
57064c4dc5 sysprof: add ctrl+s accelerator 2019-05-29 15:13:01 -07:00
4f00ec5e49 libsysprof: add some symbol libraries 2019-05-29 15:13:01 -07:00
35590fe315 libsysprof-ui: add mark hits to details 2019-05-29 15:13:01 -07:00
3321308c4a libsysprof: use SYSPROF_TRACE_FD env var when spawning
This avoids connecting to the bus which is racey, and instead just hands
the FD off to the subprocess.
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
13b3edcbf6 helpers: try harder to avoid D-Bus to daemon 2019-05-29 15:13:01 -07:00
86aeb56f41 libsysprof: join using cat helper 2019-05-29 15:13:01 -07:00
97bae7d9e3 libsysprof-capture: add cat helper 2019-05-29 15:13:01 -07:00
570df015fa libsysprof: start on proxy source implementation
Still need to implement the join support for the writer.
2019-05-29 15:13:01 -07:00
9c7b8a747a libsysprof-ui: add proxy source for gtk 2019-05-29 15:13:01 -07:00
5eaf68753f libsysprof-ui: fix alignment 2019-05-29 15:13:01 -07:00
82f5da8fe1 libsysprof-ui: check current page when checking if empty 2019-05-29 15:13:01 -07:00
e2d5be5f52 libsysprof-ui: setup profiler immediately on setup
We want this set early so that tooling has access to it. We should probably
also teach the local profiler about doing this earlier so that it isn't
necessary to do this.
2019-05-29 15:13:01 -07:00
7b017a31f1 libsysprof-ui: focus record button by default
Because if we break the "hit enter to launch, escape to stop" workflow
some people will be angry.
2019-05-29 15:13:01 -07:00
f330de967b sysprof: make escape stop the current profiler 2019-05-29 15:13:01 -07:00
28def4c34e libsysprof-ui: stat before usage 2019-05-29 15:13:01 -07:00