lkml.org 
[lkml]   [2014]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [rfc 2/2] docs: procfs -- Document timerfd output
From
2014-03-31 21:54 GMT+04:00 Cyrill Gorcunov <gorcunov@openvz.org>:
> CC: Shawn Landden <shawn@churchofgit.com>
> CC: Thomas Gleixner <tglx@linutronix.de>
> CC: Andrew Morton <akpm@linux-foundation.org>
> CC: Andrey Vagin <avagin@openvz.org>
> CC: Pavel Emelyanov <xemul@parallels.com>
> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
> ---
> Documentation/filesystems/proc.txt | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> Index: linux-2.6.git/Documentation/filesystems/proc.txt
> ===================================================================
> --- linux-2.6.git.orig/Documentation/filesystems/proc.txt
> +++ linux-2.6.git/Documentation/filesystems/proc.txt
> @@ -1741,6 +1741,15 @@ pair provide additional information part
> While the first three lines are mandatory and always printed, the rest is
> optional and may be omitted if no marks created yet.
>
> + Timerfd files
> + ~~~~~~~~~~~~~
> + pos: 0
> + flags: 02
> + mnt_id: 9
> + clockid: 0 ticks: 0

I would prefer to print "tick" on a separate line.

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)

> +
> + where 'clockid' is the clock type and 'ticks' is the number of the timer expirations
> + that have occurred [see timerfd_create(2) for details].
>
> ------------------------------------------------------------------------------
> Configuring procfs
>


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