diff options
author | Daniel Braunwarth <daniel@braunwarth.dev> | 2022-09-22 18:35:19 +0200 |
---|---|---|
committer | Daniel Braunwarth <daniel@braunwarth.dev> | 2022-09-23 10:07:03 +0200 |
commit | 893bcd3d074022bd52618cb682152cb822878636 (patch) | |
tree | fd636b0ef90ba4d39163f92f1a3032a11237dcc8 /src/shared/logs-show.h | |
parent | 275e6be052e690adcad5d2a557acb9dcb5bedbc6 (diff) | |
download | systemd-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.h | 4 |
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, |