kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* xtime variable in kernel 4.0
@ 2015-04-14 12:47 Mohammad A Khasawneh
  2015-04-14 13:01 ` Anupam Kapoor
  2015-04-14 13:20 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Mohammad A Khasawneh @ 2015-04-14 12:47 UTC (permalink / raw)
  To: kernelnewbies

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150414/0cb13c7c/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* xtime variable in kernel 4.0
  2015-04-14 12:47 xtime variable in kernel 4.0 Mohammad A Khasawneh
@ 2015-04-14 13:01 ` Anupam Kapoor
  2015-04-14 13:20 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Anupam Kapoor @ 2015-04-14 13:01 UTC (permalink / raw)
  To: kernelnewbies


>>>>> [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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* xtime variable in kernel 4.0
  2015-04-14 12:47 xtime variable in kernel 4.0 Mohammad A Khasawneh
  2015-04-14 13:01 ` Anupam Kapoor
@ 2015-04-14 13:20 ` Greg KH
  2015-04-14 13:31   ` Nick Krause
  1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2015-04-14 13:20 UTC (permalink / raw)
  To: kernelnewbies

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' 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* xtime variable in kernel 4.0
  2015-04-14 13:20 ` Greg KH
@ 2015-04-14 13:31   ` Nick Krause
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Krause @ 2015-04-14 13:31 UTC (permalink / raw)
  To: kernelnewbies

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 at 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-14 13:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 12:47 xtime variable in kernel 4.0 Mohammad A Khasawneh
2015-04-14 13:01 ` Anupam Kapoor
2015-04-14 13:20 ` Greg KH
2015-04-14 13:31   ` Nick Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).