summaryrefslogtreecommitdiff
path: root/src/analyze
AgeCommit message (Collapse)Author
2013-03-20systemd-analyze: do not format timestamp when not printing itZbigniew Jędrzejewski-Szmek
../src/analyze/systemd-analyze.c:530:88: warning: data argument not used by format string [-Wformat-extra-args] ...svg_text(false, u->ixt, y, u->time? "%s (%s)" : "%s", u->name, format_timespan(ts, sizeof(ts), u->time)); ~~~~ ^
2013-03-08analyze: use defines where we don't need static variablesLennart Poettering
2013-03-08analyze: by now, systemd-analyze is hardly all my workLennart Poettering
2013-03-08analyze: various cleanupsLennart Poettering
Update systemd-analyze to follow the coding style of the other tools more closely. Also, update the CODING_STYLE to document this for future additions. Changes: - Always use usec_t for time units, so that we always use the same types everywhere, and format times the same way as everywhere else. - Add "static" to global variables - Make sure we can always distuingish OOM and other errors: ensure we always return useful error codes from all functions. - Always free unit_times array
2013-03-01systemd-analyze: free unit_times only if it is not NULLLukas Nykryn
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2013-02-13Move systemctl dot to systemd-analyze dotSimon Peeters
2013-02-13systemd-analyze: rewrite in C.Simon Peeters
Written by Peeters Simon <peeters.simon@gmail.com>. Makefile stuff and cleaned up a bit by Auke Kok <auke-jan.h.kok@intel.com>. Some code inspired by Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
2013-01-09tabs to spacesThomas Hindoe Paaboel Andersen
Skipped bootchart and various files that looked like they should be kept in sync with external sources.
2013-01-08analyze: add emacs mode headerLennart Poettering
2013-01-06analyze: add .gitignoreKay Sievers
2013-01-04systemd-analyze: use specified binary, add --versionZbigniew Jędrzejewski-Szmek
Python binary used in the she-bang line in installed scripts can be set with ./configure PYTHON_BINARY=... Defaults to the same path as python used during compilation. Adding --version makes systemd-analyze behave consistently with the rest of installed programs. The lines in ./configure output are reordered to keep all yes/no lines separate. I think that this makes the output clearer.
2013-01-04systemd-analyze: pipe through SED_PROCESSZbigniew Jędrzejewski-Szmek
To be able to add --version and change python binary.
2013-01-04systemd-analyze: reword commentsZbigniew Jędrzejewski-Szmek
2012-12-31analyze: properly parse firmware/loader time and handle times for container ↵Lennart Poettering
boots correctly
2012-11-13systemd-analyze: use argparse instead of getoptZbigniew Jędrzejewski-Szmek
Makes the output way nicer with shorter code. Also brings systemd-analyze behaviour more in line with other systemd-programs. Argparse is in Python since 2.6, and is available as a package for previous versions, if someone is stuck with very old Python.
2012-11-02analyze: use GDBus instead of dbus-pythonCosimo Cecchi
2012-09-13manager: extend performance measurement interface to include firmware/loader ↵Lennart Poettering
times This only adds the fields to the D-Bus interfaces but doesn't fill them in with anything useful yet. Gummiboot exposes the necessary bits of information to use however and as soon as I get my fingers on a proper UEFI laptop I'll hook up the remaining bits. Since we want to stabilize the D-Bus interface soon and include it in the stability promise we should get the last fixes in, hence this change now.
2012-06-19analyze: Python 3 compatibilityShawn Landden
Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3.
2012-05-22systemd-analyze: switch to python getopt for argument parsingShawn Landden
this uses gnu style getopt, so you can put the opts at the end: (e.g.) systemd-analyze blame --user v4
2012-05-04systemd-analyze: add a --user option to support user instancesPatrick McCarty
2012-04-13build-sys: add stub makefiles to all subdirs to ease development with emacsLennart Poettering
2012-04-13build-sys: drop systemd- prefix from analyze dirLennart Poettering