Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5850998 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

evemu-record: Document the --timestamp-base=epoch option

The timestamp base "boot" was changed to "epoch" in:
commit I80e3b4db1bcc2e6f656bfaaf7904f1678cfb29cf

Bug: 245989146
Change-Id: Id867cece5732306454d67efc58f08e0534df26f9
Flag: DOCS_ONLY
Test: None
parent 12fb1d2c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -38,10 +38,10 @@ $ adb shell uinput - < my-recording.evemu
### Timestamp bases

By default, event timestamps are recorded relative to the time of the first event received during
the recording. Passing `--timestamp-base=boot` causes the timestamps to be recorded relative to the
system boot time instead. While this does not affect the playback of the recording, it can be useful
for matching recorded events with other logs that use such timestamps, such as `dmesg` or the
touchpad gesture debug logs emitted by `TouchpadInputMapper`.
the recording. Passing `--timestamp-base=epoch` causes the timestamps to be recorded as Unix
timestamps, relative to the Unix epoch (00:00:00 UTC on 1st January 1970). While this does not
affect the playback of the recording, it can make the events in the recording easier to match up
with those from other log sources, like logcat.

[FreeDesktop]: https://gitlab.freedesktop.org/libevdev/evemu
[format]: https://gitlab.freedesktop.org/libevdev/evemu#device-description-format