2014-04-07 17:50:04

by Cyrill Gorcunov

[permalink] [raw]
Subject: [patch 2/3] docs: procfs -- Document timerfd output

CC: Shawn Landden <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Andrey Vagin <[email protected]>
CC: Pavel Emelyanov <[email protected]>
CC: Vladimir Davydov <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
---
Documentation/filesystems/proc.txt | 17 +++++++++++++++++
1 file changed, 17 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,23 @@ 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
+ settime flags: 01
+ it_value: (0, 49406829)
+ it_interval: (1, 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]. 'settime flags' are
+ flags in octal form used to setup the timer [see timerfd_settime(2) for
+ details]. 'it_value' and 'it_interval' are the expiration time and interval
+ for the timer.

------------------------------------------------------------------------------
Configuring procfs


2014-04-08 07:43:54

by Cyrill Gorcunov

[permalink] [raw]
Subject: [patch 2/3] docs: procfs -- Document timerfd output, v2

CC: Shawn Landden <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Andrey Vagin <[email protected]>
CC: Pavel Emelyanov <[email protected]>
CC: Vladimir Davydov <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
---

Vladimir, would the below text be more clear?

Documentation/filesystems/proc.txt | 17 +++++++++++++++++
1 file changed, 17 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,23 @@ 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
+ settime flags: 01
+ it_value: (0, 49406829)
+ it_interval: (1, 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]. 'settime flags' are
+ flags in octal form used to setup the timer [see timerfd_settime(2) for
+ details]. 'it_value' is remaining time until the timer exiration.
+ 'it_interval' is the interval for the timer.

------------------------------------------------------------------------------
Configuring procfs

2014-04-08 07:52:23

by Vladimir Davydov

[permalink] [raw]
Subject: Re: [patch 2/3] docs: procfs -- Document timerfd output, v2

On 04/08/2014 11:43 AM, Cyrill Gorcunov wrote:
> CC: Shawn Landden <[email protected]>
> CC: Thomas Gleixner <[email protected]>
> CC: Andrew Morton <[email protected]>
> CC: Andrey Vagin <[email protected]>
> CC: Pavel Emelyanov <[email protected]>
> CC: Vladimir Davydov <[email protected]>
> Signed-off-by: Cyrill Gorcunov <[email protected]>
> ---
>
> Vladimir, would the below text be more clear?

It looks good to me.

Thanks.

>
> Documentation/filesystems/proc.txt | 17 +++++++++++++++++
> 1 file changed, 17 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,23 @@ 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
> + settime flags: 01
> + it_value: (0, 49406829)
> + it_interval: (1, 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]. 'settime flags' are
> + flags in octal form used to setup the timer [see timerfd_settime(2) for
> + details]. 'it_value' is remaining time until the timer exiration.
> + 'it_interval' is the interval for the timer.
>
> ------------------------------------------------------------------------------
> Configuring procfs