Commit Graph

1528 Commits

Author SHA1 Message Date
7650d6e7c6 libsysprof-capture: add file chunk frame type 2019-05-29 15:13:01 -07:00
1940e45bf4 libsysprof-ui: add tooltips for message column 2019-05-29 15:13:01 -07:00
c5e6ef7f2a libsysprof-ui: prefer Time over Offset 2019-05-29 15:13:01 -07:00
acf64b46e6 libsysprof-ui: hide logs view when no logs are present 2019-05-29 15:13:01 -07:00
7a0b5ed404 libsysprof-ui: reload logs when selection changes 2019-05-29 15:13:01 -07:00
5f3a9c0a72 libsysprof-ui: add log view 2019-05-29 15:13:01 -07:00
7202d7aed9 libsysprof-ui: add tree model for log messages 2019-05-29 15:13:01 -07:00
cc415c9140 libsysprof-capture: add log frame type
This is useful to interleave logs with the capture so that we can have
correlation without interjecting them into mark fields.
2019-05-29 15:13:01 -07:00
d77c305779 tools: use writer-cat from libsysprof-capture 2019-05-29 15:13:01 -07:00
ded0233553 libsysprof-ui: add callgraph loading dialog
This can lag a bit on big profiles, so add a loading page while we generate
the callgraph in a thread.
2019-05-29 15:13:01 -07:00
26bcf94888 whitespace 2019-05-29 15:13:01 -07:00
19f4a6ae70 libsysprof-capture: add writer buffer size helper
This could be useful to know what you can actually shove into the capture
file based on size.
2019-05-29 15:13:01 -07:00
9c1518b384 tools: use PolkitUnixProcess 2019-05-29 15:13:01 -07:00
88bf04cb37 tools: add polkit agent to sysprof-cli
The goal for this is to be able to not use sudo to authenticate the user
and elevate privileges.
2019-05-29 15:13:01 -07:00
aca6baa3bd tools: add --gjs option and fix --use-trace-fd
This uses the new tracefd source for gjs and trace-fd sources.
2019-05-29 15:13:01 -07:00
c7b4465e27 libsysprof: add missing new func 2019-05-29 15:13:01 -07:00
17a835570e build: remove dead code 2019-05-29 15:13:01 -07:00
3706869e06 libsysprof: clear trace fd after reading 2019-05-29 15:13:01 -07:00
283c3f5ba5 libsysprof: start on some new aids to select 2019-05-29 15:13:01 -07:00
0005189875 icons: add icon for application source 2019-05-29 15:13:01 -07:00
552ccb4f60 libsysprof: move tracefd to separate source 2019-05-29 15:13:01 -07:00
a4b5a582f4 libsysprof-ui: allow creating aid instance 2019-05-29 15:13:01 -07:00
8c608ffa5e libsysprof-ui: implement GtkBuildable for .ui usage
This allows us to configure an aid with sources.
2019-05-29 15:13:01 -07:00
385ece7c41 whitespace 2019-05-29 15:13:01 -07:00
7bba7a4dff hostinfo: get proc fd from daemon
Current CPU speed is censored in various containers, so we need access to
it from the daemon.
2019-05-29 15:13:01 -07:00
2c6044d7bb helpers: remove flatpak check for now
We don't know if the file is sensitive or not, so we must go to the
daemon for the contents.
2019-05-29 15:13:01 -07:00
bfe72c1d77 libsysprof-ui: add simplified time label
This handles the resizing of the numbers better to avoid jitter of the
positioning.
2019-05-29 15:13:01 -07:00
272a0e284e whitespace 2019-05-29 15:13:01 -07:00
d43137475e libsysprof-ui: add fork to list of marks 2019-05-29 15:13:01 -07:00
697ef7f350 libsysprof: serialize dbus proxy settings 2019-05-29 15:13:01 -07:00
7bec0d7698 libsysprof: make sure we have a SysprofSource 2019-05-29 15:13:01 -07:00
aac6e6ed9f Revert "helpers: try harder to avoid D-Bus to daemon"
This reverts commit 84c708890621472d640dfe2360e1273fcc5163cf.

This caused some issues with callgraphs.
2019-05-29 15:13:01 -07:00
404317d49d libsysprof: implement various serialization hooks 2019-05-29 15:13:01 -07:00
7d6acdfc03 gtk: add more keyboard shortcuts to dialog 2019-05-29 15:13:01 -07:00
7c41a99b99 libsysprof-ui: wire up display for re-recording 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
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