[linux-yocto] [PATCH 7/8] docs: Procfs -- Document timerfd output

Yang Shi yang.shi at windriver.com
Thu Aug 28 11:25:53 PDT 2014


From: Cyrill Gorcunov <gorcunov at openvz.org>

commit 854d06d9fc350130617debdd9e9f49d1c4ba5206 upstream

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Michael Kerrisk <mtk.manpages at gmail.com>
Cc: Andrey Vagin <avagin at openvz.org>
Cc: Pavel Emelyanov <xemul at parallels.com>
Cc: Vladimir Davydov <vdavydov at parallels.com>
Link: http://lkml.kernel.org/r/20140715215703.199905126@openvz.org
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Yang Shi <yang.shi at windriver.com>
---
 Documentation/filesystems/proc.txt | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 8b9cd8e..32f3876 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -1741,6 +1741,25 @@ pair provide additional information particular to the objects they represent.
 	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 been 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. Note the timer might be set up
+	with TIMER_ABSTIME option which will be shown in 'settime flags', but 'it_value'
+	still exhibits timer's remaining time.
 
 ------------------------------------------------------------------------------
 Configuring procfs
-- 
2.0.2



More information about the linux-yocto mailing list