Commit Graph

24 Commits

Author SHA1 Message Date
7d0cce7bdf ui: remove legacy CSS selectors
Now that we bumped the gtk+ requirement, we can remove the old
CSS selectors that are obsolete.
2016-09-25 12:21:56 -07:00
3b9ea07d31 cpu: discover cpu counters from SpCaptureReader
This allows us to dynamically discover the cpu counters from the
capture by looking for the "CPU Total" category.
2016-09-25 12:19:53 -07:00
99ff8f2a5c wip: visualizers 2016-09-23 19:18:36 -07:00
0e89182300 sp-window: Fix profiler menu button alignment 2016-07-13 09:41:08 +02:00
7bbe8cec72 credits: make strings arrays const 2016-06-21 12:49:26 -07:00
6e597e8898 window: ignore STATE_0 2016-06-21 12:44:36 -07:00
96c8032ab0 sp-window: Hide info bar when starting to record 2016-06-05 18:32:52 +02:00
113baca655 build: fix a few warnings from clang 2016-04-28 04:00:27 -07:00
ff395e94c6 window: protect against delayed ::stopped
Large captures could take a while to complete the stop request, so protect
against that so that the user can't accidentally start another capture.
2016-04-18 00:02:50 -07:00
117d4c480d about: handle response from about dialog
On systems where this shows a close button, we need to handle the
response and destroy the dialog.
2016-04-16 17:22:52 -07:00
36008c4ab4 window: notify the user when no valid samples were collected
If we failed to collect any samples in the target profile, let the user
know why the callgraph is empty.
2016-04-15 18:11:31 -07:00
d4ab108786 window: title should be set on headerbar
When set on the window, we seem to lose the value when inserting the
headerbar, resulting in the title being "sysprof" (binary name) according
to the shell. Setting this on the headerbar seems to fix that.
2016-04-15 17:51:32 -07:00
ae5338aaf1 theme: add fallback styling for 3.18
New styling doesn't apply on 3.18 which is used on F23. Since packages are
being built for that, might as well fix the styling.
2016-04-15 17:17:44 -07:00
9ba08c8d93 window: reset profiler after capture
We don't really want to reuse SpProfiler instances after running, so when
we transition to browsing, reset the profiler instance.
2016-04-14 16:20:32 -07:00
82bdda6f6f window: stop the profiler when closing the window
This is probably more useful when having multiple windows up, so try to
clean things up by stopping the profiler and delaying the close.
2016-04-14 05:49:01 -07:00
cfd49d2c05 window: call stop() if we are currently recording 2016-04-14 05:40:02 -07:00
88d3ae3b74 profiler: extract SpProfiler into an interface
It would be nice to be able to support a remote profiler session in the
future, so add SpLocalProfiler implementation of SpProfiler interface.
2016-04-14 02:37:28 -07:00
5d25b8a242 build: be a bit more flexible with configuration options
It would be nice if we can be a bit more flexible with where the
sysprof-cli tool can run. Lets try to break out the system checks a
bit more.
2016-04-14 00:59:28 -07:00
a8205c7c29 build: allow disabling the GTK interface with --disable-gtk
For some systems, such as embedded Linux including ARM, we might want to
just compile libsysprof/sysprof-cli without the GTK user interface. This
allows for that. You can copy the capture files to your visualization
host to render the results.
2016-04-13 21:32:01 -07:00
61fed5b8f2 build: split profiler and gtk widgets into separate libraries
This will make it easier to support installing just sysprof-cli and the
sysprofd helper daemon on systems where GTK is not feasible or necessary.
This does not, however, do that. It simply gets things broken up into
pieces.
2016-04-13 21:09:52 -07:00
f69e18f4c8 window: add screenshot action
Shows the screenshot (textual representation) of the descendants tree in
a new window/textview.
2016-04-13 19:40:54 -07:00
f73f5e98ec save-as: add .syscap extension if necessary
We have *.syscap glob registered with the mime types, so ensure that the
file gets saved with that extension.
2016-04-13 09:23:21 -07:00
29c4ec495f Land Sysprof 2.x
This is a major redesign a modernization of Sysprof. The core data
structures and design are largely the same, but it has been ported to
Gtk3 and has lots of additions that should make your profiling experience
smoother. Especially for those that are new to profiling.

There are some very simple help docs added, but we really need the
experts to come in and write some documentation here.
2016-04-13 05:24:03 -07:00
2ea0287f89 move source around in preparation to land sysprof2 2016-04-13 05:10:31 -07:00