Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-15 | Isolation of udev code from remaining systemd | Anthony G. Basile | |
This commit is a first attempt to isolate the udev code from the remaining code base. It intentionally does not modify any files but purely delete files which, on a first examination, appear to not be needed. This is a sweeping commit which may easily have missed needed code. Files can be retrieved by doing a checkout from the previous commit: git checkout 2944f347d0 -- <filename> | |||
2012-11-14 | build-sys: store journald code in a noinst library | Zbigniew Jędrzejewski-Szmek | |
The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files. | |||
2012-11-12 | remove duplicate semicolons | Thomas Hindoe Paaboel Andersen | |
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-11-02 | util: add is_locale_utf8() | Michal Schmidt | |
journalctl and vconsole-setup both implement utf8 locale detection. Let's have a common function for it. The next patch will add another use. | |||
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 | journal: special case the trivial cache chain cache entry | 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-26 | journal: provide an API that allows client to figure out whether they need ↵ | Lennart Poettering | |
to recheck the journal manually for changes in regular intervals Network file systems generally do not offer inotify() that would work across the network. We hence cannot rely on inotify() exclusiely in those case. Provide an API to determine these cases, and suggest doing manual regular rechecks. Note that this is not complete yet, as we need to rescan journal dirs on network file systems explicitly to find new/removed files | |||
2012-10-26 | journal: fix parsing of monotonic kernel timestamps | Lennart Poettering | |
2012-10-26 | journal: introduce entry array chain cache | Lennart Poettering | |
When traversing entry array chains for a bisection or for retrieving an item by index we previously always started at the beginning of the chain. Since we tend to look at the same chains repeatedly, let's cache where we have been the last time, and maybe we can skip ahead with this the next time. This turns most bisections and index lookups from O(log(n)*log(n)) into O(log(n)). More importantly however, we seek around on disk much less, which is good to reduce buffer cache and seek times on rotational disks. | |||
2012-10-26 | test: extend test-send to send some weirder data | Lennart Poettering | |
2012-10-26 | journal: properly determine cutoff max date | Lennart Poettering | |
2012-10-25 | journal: properly serialize fields with multiple values into JSON | Lennart Poettering | |
This now matches the JSON serialization spec from: http://www.freedesktop.org/wiki/Software/systemd/json | |||
2012-10-24 | journalctl: remove left-over log message | Lennart Poettering | |
2012-10-22 | shared: move sparse-endian.h from journal | Kay Sievers | |
2012-10-21 | journal: use le64_t instead of uint64_t where this is appropriate | Lennart Poettering | |
2012-10-20 | journal: link up documentation with the file structure header | 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. | |||
2012-10-19 | journald.conf: remove MinSize= settings | Lennart Poettering | |
There's no point in making this configurable, so let's drop it in order to simplify configuration a bit. | |||
2012-10-19 | util: unify line caching and column caching | Lennart Poettering | |
2012-10-19 | util: unify usage of on_tty() in util.c | Lennart Poettering | |
2012-10-18 | journalctl: unify ellipsation handling between journalctl and systemctl | Lennart Poettering | |
2012-10-18 | journalctl: don't ellipsize unless on a tty | Lennart Poettering | |
2012-10-18 | journalctl: honour -n if -F is used | Lennart Poettering | |
2012-10-18 | journal: fix symbol versioning file | Lennart Poettering | |
2012-10-18 | journal: typo fix | Lennart Poettering | |
2012-10-18 | journal: implement filtering in browse.html | Lennart Poettering | |
2012-10-18 | journal: add high-level match option to filter by current boot id | Lennart Poettering | |
2012-10-18 | journal: add ability to list unique fields to gatewayd | Lennart Poettering | |
2012-10-18 | journal: validate field name in sd_journal_query_unique() | Lennart Poettering | |
2012-10-18 | libsystemd-journal: export sd_journal_restart_unique | Zbigniew Jędrzejewski-Szmek | |
2012-10-18 | journal: suggest rotation when fields are not indexed | Lennart Poettering | |
2012-10-18 | journalctl: move access check before the first access to the journal files | Lennart Poettering | |
2012-10-18 | journalctl: implement quering field values with new -F switch | Lennart Poettering | |
Example: journalctl -F _SYSTEMD_UNIT will list all units that ever logged to the journal. | |||
2012-10-18 | journal: add ability to list values a specified field can take in all ↵ | Lennart Poettering | |
entries of the journal The new 'unique' API allows listing all unique field values that a field specified by a field name can take in all entries of the journal. This allows answering queries such as "What units logged to the journal?", "What hosts have logged into the journal?", "Which boot IDs have logged into the journal?". Ultimately this allows implementation of tools similar to lastlog based on journal data. Note that listing these field values will not work for journal files created with older journald, as the field values are not indexed in older files. | |||
2012-10-17 | journal: fix potential integer overflow | Lennart Poettering | |
2012-10-16 | journalctl: properly track rotated journals in follow mode | Lennart Poettering | |
2012-10-16 | sd-journal: fix bad memory access | Lennart Poettering | |
2012-10-16 | journal: implement time-based rotation/vacuuming | Lennart Poettering | |
This also enables time-based rotation (but not vacuuming) after 1month, so that not more one month of journal is lost at a time per vacuuming. | |||
2012-10-16 | journal: sort data items of entries by offset | Lennart Poettering | |
This should slightly optimize disk access patterns on rotating disks for simple readers. |