Commit Graph

555 Commits

Author SHA1 Message Date
cd0a39859e capture: drop ADD from capture type
I opted to not implement this yet, so ensure its not in the capture
format types.
2016-04-14 18:33:23 -07:00
c87a90cd9a capture: add frame type for defining and setting counters
We might want to add a CTRADD type later on, for relative values rather
than absolute. But this should get us started.

Simply define counters upfront, and then set them during the capture
process.

Obviously, we need to come up with a good way to visualize this
information in the UI.
2016-04-14 18:29:39 -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
89e75fae2d profiler: reset timer when starting
If we reuse the profiler instance (not convinced this is a good idea yet)
then we could have a nonzero elapsed time. Reset it immediately so that
the UI doesn't jitter between the previous value and 00:00.
2016-04-14 05:39:49 -07:00
a7982ad1e8 perf: delay source start until polkit has authorized
Without this, after logging in you are already multiple seconds into your
profiling session recording. Not ideal. So instead, we do the async polkit
auth upfront during SpSource::prepare(), and then toggle ready after we
have received notification.
2016-04-14 04:36:18 -07:00
bdf888f556 cli: add --version command line option 2016-04-14 03:31:33 -07:00
fe5750f95b Added initial German doc translation 2016-04-14 12:00:32 +02:00
907844744c Added German translation 2016-04-14 11:59:12 +02:00
c3308a4b26 update TODO 2016-04-14 02:52:06 -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
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
43e61fc40a build: check for c++ compiler
We need this for abi::__cxx_demangle()
2016-04-13 22:50:15 -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
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
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
082d754113 Add Polish translation 2016-04-13 22:30:47 +02:00
1fbdd29e5f Added Serbian translation 2016-04-13 19:21:51 +02: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
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
8c8be5a67e Add po/LINGUAS 2016-04-13 15:42:59 +02:00
00b0d084c0 Updated POTFILES.in 2016-04-13 15:38:52 +02: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
6e55454185 add chergert to maintainers 2016-04-13 05:50:52 -07:00
916c53c432 fix doap for git.gnome.org 2016-04-13 05:48:15 -07:00
7390930d2c update AUTHORS 2016-04-13 05:43:26 -07:00
08a7314c48 icons: no need to ship source svg in tarball
This sort of explodes the size of the distribution tarball.
2016-04-13 05:39:00 -07:00
5b3d53b901 move tap-test into root 2016-04-13 05:38:37 -07:00
9417397d9b Setup translations in po/ 2016-04-13 05:33:16 -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
34db28db32 add GPL-3 copying for new code 2016-04-13 05:14:09 -07:00
f25528f8db move COPYING to COPYING.gpl2 2016-04-13 05:13:59 -07:00
8832fd8c1f remove old releasing instructions
We have generic instructions for this on the wiki
2016-04-13 05:12:40 -07:00
cf131ea135 ChangeLog no longer necessary 2016-04-13 05:11:59 -07:00
143e4564d4 remove old udev rules 2016-04-13 05:11:44 -07:00
109fcf2a2e remove old files 2016-04-13 05:10:57 -07:00
2ea0287f89 move source around in preparation to land sysprof2 2016-04-13 05:10:31 -07:00
46f087522d Move icons into data/icons. 2016-04-13 05:08:22 -07:00
abe9ec9f96 Remove old kernel module
This isn't necessary anymore, we'll just rely on Linux perf.
2016-04-13 05:06:20 -07:00
69018972ad EXTRA_DIST: Distribute sysprof-icon-source.svg 2013-03-11 13:23:08 -04:00
7f9fa2c676 README: Update for current decade 2013-03-11 13:19:35 -04:00
4704f98a06 app icon: add a high resolution app icon
- SVG source isn't meant to be installed, just there for
  future updates.
2013-03-11 13:16:55 -04:00
c47fed1eff Post-release version bump to 1.3.1 2012-09-08 14:34:04 -04:00
cd44ee6644 Pre-release version bump to 1.2.0 2012-09-08 14:20:12 -04:00
a45da708aa Don't try to distribute perf_counter.hf 2012-09-08 14:20:12 -04:00