Hi everyone, I'm trying to develop a syscall in kernel v4.0 which copies the xtime variable to user space. I can find the variable in 3.X but it seems to have been changed in 4.0. Can anyone point me to its location? Thanks, Mohammad Khasawneh
[2015-04-14T18:17:08+0530]: "Mohammad A Khasawneh" (mohammad-Khasawneh): ,----[ mohammad-Khasawneh ] | I'm trying to develop a syscall in kernel v4.0 which copies the xtime | variable to user space. I can find the variable in 3.X but it seems to have | been changed in 4.0. Can anyone point me to its location? `---- commit 1e75fa8be9f condenses timekeeper.xtime into xtime_sec
-- kind regards anupam
On Tue, Apr 14, 2015 at 08:47:08AM -0400, Mohammad A Khasawneh wrote:
Hi everyone,
I'm trying to develop a syscall in kernel v4.0 which copies the xtime variable to user space. I can find the variable in 3.X but it seems to have been changed in 4.0. Can anyone point me to its location?
git is your friend, it shouldn't be hard to find where it went to, just look at all commits that changed between the version you find it, and the new one, and run 'git log path/filename.c'
On Tue, Apr 14, 2015 at 9:20 AM, Greg KH <greg@kroah.com> wrote:
On Tue, Apr 14, 2015 at 08:47:08AM -0400, Mohammad A Khasawneh wrote:
Hi everyone,
I'm trying to develop a syscall in kernel v4.0 which copies the xtime variable to user space. I can find the variable in 3.X but it seems to have been changed in 4.0. Can anyone point me to its location?
git is your friend, it shouldn't be hard to find where it went to, just look at all commits that changed between the version you find it, and the new one, and run 'git log path/filename.c'
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies I am wondering why you need to return the wall clock time to user space. This seems unnecessary to me unless you can find some applications that need the wall clock time in order to function correctly. Nick
participants (4)
-
Anupam Kapoor -
Greg KH -
Mohammad A Khasawneh -
Nick Krause