From a963990ff4ebc7908d3cf82bbd8cf34a42d57b7f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jul 2012 01:08:38 +0200 Subject: journal: rework directory enumeration/watch logic There's now sd_journal_new_directory() for watching specific journal directories. This is exposed in journalctl -D. sd_journal_wait() and sd_journal_process() now return whether changes in the journal are invalidating or just appending. We now create inotify kernel watches only when we actually need them --- src/journal/libsystemd-journal.sym | 1 + 1 file changed, 1 insertion(+) (limited to 'src/journal/libsystemd-journal.sym') diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym index d1ba9e8e31..fa4519a682 100644 --- a/src/journal/libsystemd-journal.sym +++ b/src/journal/libsystemd-journal.sym @@ -61,4 +61,5 @@ global: LIBSYSTEMD_JOURNAL_187 { global: sd_journal_wait; + sd_journal_open_directory; } LIBSYSTEMD_JOURNAL_184; -- cgit v1.2.3-54-g00ecf