Systemd/src/journal
Michal Schmidt d5099efc47 hashmap: introduce hash_ops to make struct Hashmap smaller
It is redundant to store 'hash' and 'compare' function pointers in
struct Hashmap separately. The functions always comprise a pair.
Store a single pointer to struct hash_ops instead.

systemd keeps hundreds of hashmaps, so this saves a little bit of
memory.
2014-09-15 16:08:50 +02:00
..
.gitignore journald: parse configuration file 2012-01-04 20:40:04 +01:00
cat.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
catalog.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
catalog.h hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
compress.c journal/compress: use LZ4_compress_continue() 2014-08-30 17:41:15 -04:00
compress.h Fix misuse of uint64_t as size_t 2014-08-03 23:53:49 -04:00
coredump-vacuum.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
coredump-vacuum.h coredump: add simple coredump vacuuming 2014-06-27 19:35:57 +02:00
coredump.c coredump: display libdw fail string on stack trace fail 2014-08-15 03:10:20 +02:00
coredump.conf coredump: replace Compression= setting by simpler Compress= boolean setting 2014-06-27 19:35:57 +02:00
coredumpctl.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
fsprg.c use memzero(foo, length); for all memset(foo, 0, length); calls 2014-01-31 11:55:01 +01:00
fsprg.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
journal-authenticate.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
journal-authenticate.h journald: don't reposition window if we don't have to 2012-09-13 17:06:04 +02:00
journal-def.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
journal-file.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
journal-file.h sd-journal: properly convert object->size on big endian 2014-08-27 21:05:28 -04:00
journal-internal.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
journal-qrcode.c Use stdint.h macros instead of casts to print uint64_t values 2013-06-10 10:10:07 -04:00
journal-qrcode.h Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
journal-send.c journal-send.c: use automatic cleanup 2014-06-19 08:53:31 -04:00
journal-vacuum.c time-util: add and use USEC/NSEC_INFINIY 2014-07-29 13:20:20 +02:00
journal-vacuum.h journald: do not free space when disk space runs low 2014-01-11 16:54:59 -05:00
journal-verify.c Fix misuse of uint64_t as size_t 2014-08-03 23:53:49 -04:00
journal-verify.h journald: always pass first entry timestamp back from journal_file_verify() 2012-09-24 15:02:43 +02:00
journalctl.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
journald-console.c Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
journald-console.h build-sys: store journald code in a noinst library 2012-11-14 23:39:53 +01:00
journald-gperf.gperf journald: add support for wall forwarding 2014-03-14 22:05:25 +01:00
journald-kmsg.c journald: Fix off-by-one error in "Missed X kernel messages" warning 2014-08-13 20:50:47 +02:00
journald-kmsg.h journald: port to sd-event and enable watchdog support 2013-12-11 20:55:09 +01:00
journald-native.c journald: remove redundant newlines 2014-08-05 04:14:02 +02:00
journald-native.h Clear up confusion wrt. ENTRY_SIZE_MAX and DATA_SIZE_MAX 2014-07-15 22:34:42 -04:00
journald-rate-limit.c shared: switch our hash table implementation over to SipHash 2013-12-22 21:12:25 +01:00
journald-rate-limit.h journal: the ratelimiter is part of journald 2012-08-22 03:43:45 +02:00
journald-server.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
journald-server.h journald: make SplitMode=uid the default 2014-06-19 12:38:45 +02:00
journald-stream.c Be more verbose when bind or listen fails 2014-07-18 21:44:59 -04:00
journald-stream.h journald: port to sd-event and enable watchdog support 2013-12-11 20:55:09 +01:00
journald-syslog.c Be more verbose when bind or listen fails 2014-07-18 21:44:59 -04:00
journald-syslog.h journald: malloc less when streaming messages 2013-12-10 20:38:33 -05:00
journald-wall.c journald: add support for wall forwarding 2014-03-14 22:05:25 +01:00
journald-wall.h journald: add support for wall forwarding 2014-03-14 22:05:25 +01:00
journald.c notify: send STOPPING=1 from our daemons 2014-08-21 17:24:21 +02:00
journald.conf journald: turn ForwardToSyslog= off by default 2014-07-11 15:34:40 +02:00
lookup3.c journal: fix build in VALGRIND compatibility mode 2012-10-13 14:40:32 +02:00
lookup3.h Add __attribute__((const, pure, format)) in various places 2013-05-02 22:52:09 -04:00
Makefile journal: add preliminary incomplete implementation 2011-10-07 22:02:05 +02:00
mmap-cache.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
mmap-cache.h journal: fix access to munmapped memory in sd_journal_enumerate_unique 2014-01-11 10:07:22 -05:00
sd-journal.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
stacktrace.c coredump: include stacktrace of coredumps in the log message 2014-06-19 12:38:45 +02:00
stacktrace.h coredump: include stacktrace of coredumps in the log message 2014-06-19 12:38:45 +02:00
test-catalog.c hashmap: introduce hash_ops to make struct Hashmap smaller 2014-09-15 16:08:50 +02:00
test-compress-benchmark.c Fix a few more typos 2014-08-30 13:46:07 -04:00
test-compress.c test-compress: also test with incompressible inputs 2014-08-30 17:41:15 -04:00
test-coredump-vacuum.c coredump: add simple coredump vacuuming 2014-06-27 19:35:57 +02:00
test-journal-enum.c move _cleanup_ attribute in front of the type 2013-04-18 09:11:22 +02:00
test-journal-flush.c test-journal-flush: avoid predictable names in /var/tmp 2014-04-26 08:16:35 -04:00
test-journal-init.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-interleaving.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-match.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-send.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-stream.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-journal-syslog.c test-journal-syslog: use streq_ptr since we pass in NULL 2013-12-15 02:31:01 +01:00
test-journal-verify.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
test-journal.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
test-mmap-cache.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00