-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
info: Add utc_offset info for external usage
In some cases, there is a requirement to get the time offset between UTC time and our timestamp from the given clock source, CLOCK_MONOTONIC by default. This patch provides an additional info to provide UTC time offset in the output of uftrace info. This number can be used to make time adjustment easier for external tools such as tracecompass[1]. Closes: #1916 [1] https://eclipse.dev/tracecompass Requested-by: Matthew Khouzam <matthew.khouzam@gmail.com> Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
- Loading branch information
1 parent
d79deba
commit 0ac2cef
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters