Commit Graph

12 Commits

Author SHA1 Message Date
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
f4df6616c6 lib: add some padding to classes
We might want to extend these going forward, so give us a chance to avoid
breaking ABI.
2016-04-13 23:05:02 -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
66d4bb25e1 callgraph: add column headers in screenshot text 2016-04-13 20:58:44 -07:00
32ea29e1ba lib: only export ^sp_ symbols 2016-04-13 20:20:52 -07:00
acd749a4e3 callgraph: add sp_callgraph_view_screenshot()
Similar to the old sysprof, this generates a textual representation of the
descendants view. It matches the expansion of the treeview in the output
text.
2016-04-13 19:40:20 -07:00
8743dbd0c9 elf-symbol-resolver: add GObject Introspection tag
When we see addresses in libgobject-introspection, give them the
"Introspection" tag to make it clear which library the symbol came from.
This is particularly useful since so many functions overlap with g_
prefixes.
2016-04-13 09:20:05 -07:00
172a1b772d callgraph: allow going backward with alt+left arrow
Sometimes its really annoying to dive into a descendant and then want to
go back to where you were. This uses alt+left arrow to go back to the
previous node. It doesn't, however, re-expand the tree to the previous
state.
2016-04-13 06:31:30 -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