Commit Graph

1350 Commits

Author SHA1 Message Date
8feeec782f libsysprof-capture: discover the end time if necessary
If we get a capture file without a valid end-time, we should just go
discover that up-front instead of dealing with it all over the place.
2019-05-29 15:13:00 -07:00
b5c855a01f tools: use g_unix_signal_add() instead of eventfd
This will do basically the same thing, but be more convenient for us and
less likely to error.
2019-05-29 15:13:00 -07:00
71b981aac1 libsysprof-ui: try harder to setup best-fit on load 2019-05-29 15:13:00 -07:00
d03aa85864 libsysprof-ui: remove unused code 2019-05-29 15:13:00 -07:00
8093d8131d libsysprof-ui: stroke line on half-pixel boundary 2019-05-29 15:13:00 -07:00
16780fa765 libsysprof-ui: ignore negative and 0 averages
This ensures that we only calculate averages for marks that have a valid
duration. We also need a new field for the number of averages we added
so that we don't skew the results.
2019-05-29 15:13:00 -07:00
ed8e23f776 build: install dbus interfaces 2019-05-29 15:13:00 -07:00
aad5397a45 libyssprof-ui: add styling for profiler menu button
This improves things the styling a bit to match the other suggested-action
colors in the Record button.
2019-05-29 15:13:00 -07:00
dd724fe77a backport weak pointers 2019-05-29 15:13:00 -07:00
cb5590b9fb libsysprof-ui: start attaching profiler button to record 2019-05-29 15:13:00 -07:00
47610f8660 libsysprof-ui: make tabs expand
To be more like gedit and Epiphany
2019-05-29 15:13:00 -07:00
55dfb81db3 libsysprof-ui: allow text to be selectable 2019-05-29 15:13:00 -07:00
9797efbe7d libsysprof-ui: add some mark details 2019-05-29 15:13:00 -07:00
abc9d7e1a8 libsysprof-ui: calculate min/max/avg for mark durations
This can be used in details later to show information about the marks.
2019-05-29 15:13:00 -07:00
24e339f36f libsysprof-ui: tweak marks drawing 2019-05-29 15:13:00 -07:00
10a826f58e libsysprof-ui: add rounded rectangle helper 2019-05-29 15:13:00 -07:00
cf1d6a9c07 libsysprof-ui: fix some warnings 2019-05-29 15:13:00 -07:00
9267933824 libsysprof-ui: soften red when selected 2019-05-29 15:13:00 -07:00
adcf667b5a tools: add tool to toggle a profiler
This is in-tree only currently, although we may consider installing it
at some point (or adding it to sysprof-cli).
2019-05-29 15:13:00 -07:00
28bcb5daee libsysprof-ui: mark negative durations as red 2019-05-29 15:13:00 -07:00
f355865ede sysprof: add close menu item 2019-05-29 15:13:00 -07:00
18065eaf11 sysprof: add about, remove quit 2019-05-29 15:13:00 -07:00
8e63320a1c sysprof: wire up window menu 2019-05-29 15:13:00 -07:00
ad1cfebedd sysprof: close window on last ctrl+w if empty 2019-05-29 15:13:00 -07:00
cc687f6914 sysprof: only request opening dialog once 2019-05-29 15:13:00 -07:00
d188039a9f sysprof: use sysprof_window_new() 2019-05-29 15:13:00 -07:00
6f49ddb0e3 libsysprof-ui: start on open support 2019-05-29 15:13:00 -07:00
9cf941b794 libsysprof-ui: do resize from idle after map
This ensures that we get things after the initial view of the window.
2019-05-29 15:13:00 -07:00
f5043fa8d6 libsysprof-ui: move zoom controls
and make them flat
2019-05-29 15:13:00 -07:00
691a1bc2b0 libsysprof-ui: start on new tabbed design 2019-05-29 15:13:00 -07:00
60ba134e9d libsysprof-ui: whitespace cleanup 2019-05-29 15:13:00 -07:00
e3245c3c3b libsysprof-ui: add empty state for timing data 2019-05-29 15:13:00 -07:00
c1d972d0c5 libsysprof-ui: tweak spacing 2019-05-29 15:13:00 -07:00
bf56f20b92 libsysprof-ui: add separator back 2019-05-29 15:13:00 -07:00
e5215c4df0 libsysprof-ui: add gdatetime fallback 2019-05-29 15:13:00 -07:00
26a94c2efd libsysprof-ui: add lateral movements with keyboard 2019-05-29 15:13:00 -07:00
3210926f15 libsysprof-ui: pan when selection changes
This helps keep things in view while moving around.
2019-05-29 15:13:00 -07:00
aa2772ef87 libsysprof-ui: link up horizontal scrolling 2019-05-29 15:13:00 -07:00
eda7b34062 libsysprof-ui: set computer-fail for no callgraph 2019-05-29 15:13:00 -07:00
9cded24b70 libsysprof-ui: tweak empty state and add icon-name property 2019-05-29 15:13:00 -07:00
a276e20d81 libsysprof-ui: filter marks based on selection 2019-05-29 15:13:00 -07:00
09a29dfb80 libsysprof-ui: jump to timings if no samples 2019-05-29 15:13:00 -07:00
59d40f4146 libsysprof: better empty check 2019-05-29 15:13:00 -07:00
59c2fb4b64 libsysprof: add is_empty() helper
This can be bound easier should we support GIR in the future.
2019-05-29 15:13:00 -07:00
89293254c5 libsysprof-ui: hide callgraph when no data is present 2019-05-29 15:13:00 -07:00
0c62fd13d4 libsysprof-capture: copy stat when dup'ing reader 2019-05-29 15:13:00 -07:00
e03b1ec8b7 libsysprof-ui: add more capture details 2019-05-29 15:13:00 -07:00
aed80ea51f libsysprof-capture: add stats to reader when possible
We can also back-fill these when reading a capture file.
2019-05-29 15:13:00 -07:00
6437dba247 libsysprof-ui: add accelerator keys 2019-05-29 15:13:00 -07:00
de06c0da45 libsysprof-ui: start on details view 2019-05-29 15:13:00 -07:00