Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-06 | coredumpctl: show a useful error on permission problems | Zbigniew Jędrzejewski-Szmek | |
2014-07-06 | journal: add LZ4 as optional compressor | Zbigniew Jędrzejewski-Szmek | |
Add liblz4 as an optional dependency when requested with --enable-lz4, and use it in preference to liblzma for journal blob and coredump compression. To retain backwards compatibility, XZ is used to decompress old blobs. Things will function correctly only with lz4-119. Based on the benchmarks found on the web, lz4 seems to be the best choice for "quick" compressors atm. For pkg-config status, see http://code.google.com/p/lz4/issues/detail?id=135. | |||
2014-06-27 | coredumpctl: fix potential deref of null pointer | Thomas Hindoe Paaboel Andersen | |
2014-06-26 | coredumpctl: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2014-06-26 | coredumpctl: fix HAVE_XZ check | Daniel Mack | |
2014-06-26 | coredumpctl: fix build with !HAVE_XZ | Daniel Mack | |
Fixes the following build error: CCLD coredumpctl src/journal/coredumpctl.o: In function `save_core': /src/systemd-master/src/journal/coredumpctl.c:656: undefined reference to `decompress_stream' collect2: error: ld returned 1 exit status make[2]: *** [coredumpctl] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 | |||
2014-06-26 | coredump+coredumpctl: add COREDUMP_FILENAME, use in coredumpctl | Zbigniew Jędrzejewski-Szmek | |
2014-06-23 | coredump: never write more than the configured processing size limit to disk | Lennart Poettering | |
2014-06-23 | coredumpctl: show comm name next to PID | Lennart Poettering | |
2014-06-23 | coredumpctl: include timestamp information in "coredumpctl info" output | Lennart Poettering | |
2014-06-23 | coredump: also escape spaces in comm fields when formatting file names | Lennart Poettering | |
2014-06-19 | coredumpctl: add missing entries to --help | Lennart Poettering | |
2014-06-19 | coredumpctl: fix columns sizing for timestamp | Lennart Poettering | |
2014-06-19 | coredumpctl: introduce new -1 switch for showing a single, most recent entry ↵ | Lennart Poettering | |
only "coredumpctl info -1" is now incredibly useful for showing the most recent stacktrace. | |||
2014-06-19 | coredump: include stacktrace of coredumps in the log message | Lennart Poettering | |
elfutils' libdw is maintained, can read DWARF debug data and appears to be the library of choice for generating backtraces today. | |||
2014-06-19 | coredump: add 3 more metadata fields to coredump entries | Lennart Poettering | |
2014-06-19 | coredump: add new "info" verb to coredumpctl showing detailed information ↵ | Lennart Poettering | |
about a coredump | |||
2014-06-19 | coredump: make sure coredumpctl can handle externally stored coredumps | Lennart Poettering | |
2014-03-18 | util: replace close_nointr_nofail() by a more useful safe_close() | Lennart Poettering | |
safe_close() automatically becomes a NOP when a negative fd is passed, and returns -1 unconditionally. This makes it easy to write lines like this: fd = safe_close(fd); Which will close an fd if it is open, and reset the fd variable correctly. By making use of this new scheme we can drop a > 200 lines of code that was required to test for non-negative fds or to reset the closed fd variable afterwards. | |||
2014-01-28 | always use the same code for creating temporary files | Lennart Poettering | |
Let's unify our code here, and also always specifiy O_CLOEXEC. | |||
2014-01-15 | Revert "Revert "coredumpctl: in case of error free pattern after print"" | Lukas Nykryn | |
In the case of the error set_consume will free the pointer 'pattern' which is later used in log_error. Either we should stop priniting that or use simple set_put and free pattern manually. This reverts commit ece6b8fd5bbc1fee16f652e680e3033f2f3efc4a. | |||
2014-01-14 | Revert "coredumpctl: in case of error free pattern after print" | Zbigniew Jędrzejewski-Szmek | |
This reverts commit cf50a55277ee432e1217ad894afcbd9a664ff96c. set_consume frees on error. | |||
2014-01-14 | coredumpctl: in case of error free pattern after print | Lukas Nykryn | |
2013-12-24 | log: log_error() and friends add a newline after each line anyway, so avoid ↵ | Lennart Poettering | |
including it in the log strings | |||
2013-12-03 | trivial coding style clean ups | Thomas Hindoe Paaboel Andersen | |
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { } | |||
2013-11-26 | tree-wide usage of %m specifier instead of strerror(errno) | Daniel Buch | |
Also for log_error() except where a specific error is specified e.g. errno ? strerror(errno) : "Some user specified message" | |||
2013-11-06 | clients: unify how we invoke getopt_long() | Lennart Poettering | |
Among other things this makes sure we always expose a --version command and show it in the help texts. | |||
2013-08-02 | coredumpctl: add more debug output | Zbigniew Jędrzejewski-Szmek | |
It can be quite useful when somebody confuses _PID with COREDUMP_PID :). | |||
2013-05-21 | man: Document missing options | Jan Janssen | |
2013-04-24 | Add set_consume which always takes ownership | Zbigniew Jędrzejewski-Szmek | |
Freeing in error path is the common pattern with set_put(). | |||
2013-04-18 | move _cleanup_ attribute in front of the type | Harald Hoyer | |
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html | |||
2013-04-16 | macro: rework how we define cleanup macros | Lennart Poettering | |
There's now a generic _cleanup_ macro with an argument. The macros for specific types are now defined using this macro, and in the header files where they belong. All cleanup handlers are now inline functions. | |||
2013-03-18 | journal,shared: add _cleanup_journal_close_ | Zbigniew Jędrzejewski-Szmek | |
2013-03-07 | pager: introduce "jump to end" option | Harald Hoyer | |
$ journalctl -be is what you want :) https://bugzilla.redhat.com/show_bug.cgi?id=867841 | |||
2013-01-04 | build-sys: drop all distribution specfic checks | Lennart Poettering | |
Yay, we now have a completely generic systemd. No distribution specific checks anymore! | |||
2012-12-19 | coredumpctl: check return of strndup | Lukas Nykryn | |
2012-11-21 | journal: by default do not decompress dat objects larger than 64K | Lennart Poettering | |
This introduces a new data threshold setting for sd_journal objects which controls the maximum size of objects to decompress. This is relieves the library from having to decompress full data objects even if a client program is only interested in the initial part of them. This speeds up "systemd-coredumpctl" drastically when invoked without parameters. | |||
2012-11-12 | enable localization for common *ctl commands | Dave Reisner | |
2012-11-09 | coredumpctl: add missing -F, --field option to help | Dave Reisner | |
2012-11-09 | systemd-coredumpctl: add 'gdb' to usage output | Dave Reisner | |
2012-10-30 | coredumpctl: add --field/-F option | Zbigniew Jędrzejewski-Szmek | |
Useful for completion generation. | |||
2012-10-30 | coredumpctl: add --no-legend option | Zbigniew Jędrzejewski-Szmek | |
Useful for completion generation. | |||
2012-10-30 | coredumpctl: fix program return code | Zbigniew Jędrzejewski-Szmek | |
2012-10-30 | coredumpctl: add guard to options table | Zbigniew Jędrzejewski-Szmek | |
It is not nice to segfault on unknown options :( | |||
2012-10-28 | journal: fix memleak, call set_free before return | Michal Sekletar | |
2012-10-27 | coredumpctl: add 'gdb' verb to start gdb right-away on a collected coredump | Lennart Poettering | |
2012-10-26 | coredumpctl: show timestamps in list | Lennart Poettering | |
2012-10-26 | coredumpctl: optimize journal entry parsing a bit by enumerating only once | Lennart Poettering | |
2012-10-26 | coredumpctl: initialize global vars | Lennart Poettering | |
2012-10-19 | journal: add tool to extract coredumps | Zbigniew Jędrzejewski-Szmek | |
'systemd-coredumpctl' will list available coredumps: PID UID GID sig exe 32452 500 500 11 /home/zbyszek/systemd/build/journalctl 32666 500 500 11 /usr/lib64/valgrind/memcheck-amd64-linux ... 'systemd-coredumpctl dump PID' will write the coredump to specified file or stdout. |