Commit Graph

23 Commits

Author SHA1 Message Date
753a698563 tools: add --rapl to sysprof-cli command
This allows recording energy statistics using turbostat if supported by
the host system.
2019-08-08 16:12:26 -07:00
1cb182d1df tools: fix local usage for no_battery 2019-08-02 11:01:13 -07:00
8c72bafff8 tools: set cwd when spawning with sysprof-cli 2019-07-28 12:32:49 -07:00
745f4c4168 tools: add --gtk option for GTK_TRACE_FD= envvar 2019-07-20 18:38:24 -07:00
6987888349 sysprof: include locale.h
setlocale and LC_ALL requires this
2019-07-17 14:59:42 +05:30
bb5261bc32 tools: setup translations for sysprof-cli 2019-07-13 15:01:59 -07:00
6a331f44f4 tools: add -- option instead of -c
This adds the common convention for applications that receive command
line arguments to use [-- COMMAND ARGS] instead of "-c" which is rather
limiting for shell expansion.

Fixes #10
2019-07-13 15:01:47 -07:00
f89d5830f2 cli: add diskstat data source recording 2019-07-01 14:46:43 -07:00
d44fdb48d9 tools: record battery from sysprof-cli 2019-06-26 14:26:15 -07:00
a951f1a240 tools: record network stats from sysprof-cli 2019-06-26 14:22:09 -07:00
84850218ed sysprof-cli: allow disabling perf stacktraces 2019-06-05 16:55:50 -07:00
5402074c53 tools: add --gnome-shell option to sysprof-cli
This can be used to connect to newer GNOME Shell versions that have
profiling integrated.
2019-06-04 15:10:51 -07:00
af32235541 gjs: add gjs source back
This sets various environment variables we need.
2019-06-03 18:01:53 -07:00
30524ab3d0 sysprof-cli: exit main loop on failure 2019-05-29 15:13:01 -07:00
c670cdd82a sysprof-cli: add symbol rollup unless --no-decode 2019-05-29 15:13:01 -07:00
f57bc57461 sysprof-cli: remove -g option
We might want to save this for gtk
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
63d3ea12ed tools: add --use-trace-fd option 2019-05-29 15:13:01 -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
53c718b708 build: rename all symbols to use sysprof_ as prefix
As we gain in usage, we need to be more careful about using a prefix
that will not collide with other symbols. So version 3 of our ABI will
change to using Sysprof/SYSPROF/sysprof as the various prefixes.

The soname/api version bump will happen later on this branch so that
things are easier to test up until then.
2019-05-29 15:12:59 -07:00
1708ad1b48 tree: start on massive tree refactor
The big thing going on here is that we are going to split up the libraries
a bit better, and remove GObject from the capture library. The libsysprof
library will bring in the capture library statically, so we can export the
symbols we want.

Eventually, we will bump the version to sysprof-3, but not yet.
2019-05-29 15:12:59 -07:00