lkml.org 
[lkml]   [2014]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc 2/2] docs: procfs -- Document timerfd output
On Mon, Mar 31, 2014 at 10:31:02PM +0400, Andrey Wagin wrote:
> > + Timerfd files
> > + ~~~~~~~~~~~~~
> > + pos: 0
> > + flags: 02
> > + mnt_id: 9
> > + clockid: 0 ticks: 0
>
> I would prefer to print "tick" on a separate line.

Sure, this is not a problem to make it so.

> And we can print the current setting of the timer here. It can be
> useful not only for CRIU but for other users too.
>
> it_value: (5, 149234)
> it_interval: (10, 0)

Yeah, moreover I think this is needed because if the timer is expired
and it's interval timer the gettime method will rearm it which we
defenitely not needed. Will update, thanks.


\
 
 \ /
  Last update: 2014-03-31 21:21    [W:0.076 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site