Messages in this thread | | | Date | Mon, 31 Mar 2014 22:31:02 +0400 | Subject | Re: [rfc 2/2] docs: procfs -- Document timerfd output | From | Andrey Wagin <> |
| |
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 >
| |