summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.h
diff options
context:
space:
mode:
authorDaniel Braunwarth <daniel@braunwarth.dev>2022-09-22 18:35:19 +0200
committerDaniel Braunwarth <daniel@braunwarth.dev>2022-09-23 10:07:03 +0200
commit893bcd3d074022bd52618cb682152cb822878636 (patch)
treefd636b0ef90ba4d39163f92f1a3032a11237dcc8 /src/shared/logs-show.h
parent275e6be052e690adcad5d2a557acb9dcb5bedbc6 (diff)
downloadsystemd-893bcd3d074022bd52618cb682152cb822878636.tar.gz
shared/logs-show: add new --output= format "short-delta"
This new output formatting option is similar to "short-monotonic" but also shows the time delta between two messages. This fixes #24641.
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r--src/shared/logs-show.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 71ebe13573..71e39ebb1f 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -21,7 +21,9 @@ int show_journal_entry(
OutputFlags flags,
char **output_fields,
const size_t highlight[2],
- bool *ellipsized);
+ bool *ellipsized,
+ dual_timestamp *previous_ts,
+ sd_id128_t *previous_boot_id);
int show_journal(
FILE *f,
sd_journal *j,