Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr/apapag/stable time #2049

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Pr/apapag/stable time #2049

wants to merge 2 commits into from

Conversation

tpapagian
Copy link
Member

No description provided.

@tpapagian tpapagian force-pushed the pr/apapag/stable-time branch 2 times, most recently from ba8a7b9 to 5350cfc Compare February 2, 2024 10:30
Replace ktime_get_ns with what /proc/<PID>/stat provides (i.e. https://elixir.bootlin.com/linux/v6.1.75/source/fs/proc/array.c#L568).

Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
We first calculate the boot time of the Linux. Then we add to that
whatever we get from the kernel space.

Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
@tpapagian tpapagian force-pushed the pr/apapag/stable-time branch from 5350cfc to a06b6d6 Compare February 2, 2024 10:42
@tpapagian tpapagian added the release-note/misc This PR makes changes that have no direct user impact. label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant