Skip to content

Optionally print message and clock_gettime when started #1

@samueldr

Description

@samueldr

To track where time is spent during a boot, this should optionally print to the logs time information.

I'm thinking about the equivalent to Process.clock_gettime(Process::CLOCK_MONOTONIC).

The idea being that we can guesstimate how much time was spent between bootlogd and the real init.


By default we might want to print something like:

printf("bootlogd vXXX starting at ~%.6d...\n, time)"

This would additionally give a clue as to what prints this.


Make this a compile-time option, as /init can't be given params really.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions