Skip to content

Mac kext logging: Make time stamps more human readable#177

Merged
pmj merged 1 commit intomicrosoft:masterfrom
pmj:mac-kext-log-improvements
Aug 18, 2018
Merged

Mac kext logging: Make time stamps more human readable#177
pmj merged 1 commit intomicrosoft:masterfrom
pmj:mac-kext-log-improvements

Conversation

@pmj
Copy link
Contributor

@pmj pmj commented Aug 16, 2018

This changes the prjfs-log tool to print log time stamps in seconds (with millisecond precision) since the start of the log rather than outputting the raw Mach absolute time stamp, which has fairly arbitrary and non-human-readable units.

This is a follow-up to PR 158 where I think my comments suggesting the above overlapped with the PR being merged, so they seem to have disappeared.

The change produces logging output that looks like this:

(0:    32.692) Note: No virtualization root found for file with set flag. (vnode path: '/Users/phil/gvfs-test/clone/src')

Indicating that the event occurred 32.692s after starting prjfs-log. For more on Mach absolute time, see this technical Q&A.

This changes the prjfs-log tool to print log time stamps in seconds (with millisecond precision) since the start of the log rather than outputting the raw Mach absolute time stamp, which has fairly arbitrary and non-human-readable units.
@pmj pmj force-pushed the mac-kext-log-improvements branch from 35915d4 to a4be784 Compare August 18, 2018 12:38
@pmj pmj merged commit 86eb03e into microsoft:master Aug 18, 2018
@pmj pmj deleted the mac-kext-log-improvements branch August 18, 2018 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants