Skip to content

Commit 854d06d

Browse files
Cyrill GorcunovKAGA-KOKO
authored andcommitted
docs: Procfs -- Document timerfd output
Signed-off-by: Cyrill Gorcunov <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Michael Kerrisk <[email protected]> Cc: Andrey Vagin <[email protected]> Cc: Pavel Emelyanov <[email protected]> Cc: Vladimir Davydov <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent af9c495 commit 854d06d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/filesystems/proc.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,6 +1743,25 @@ pair provide additional information particular to the objects they represent.
17431743
While the first three lines are mandatory and always printed, the rest is
17441744
optional and may be omitted if no marks created yet.
17451745

1746+
Timerfd files
1747+
~~~~~~~~~~~~~
1748+
1749+
pos: 0
1750+
flags: 02
1751+
mnt_id: 9
1752+
clockid: 0
1753+
ticks: 0
1754+
settime flags: 01
1755+
it_value: (0, 49406829)
1756+
it_interval: (1, 0)
1757+
1758+
where 'clockid' is the clock type and 'ticks' is the number of the timer expirations
1759+
that have occurred [see timerfd_create(2) for details]. 'settime flags' are
1760+
flags in octal form been used to setup the timer [see timerfd_settime(2) for
1761+
details]. 'it_value' is remaining time until the timer exiration.
1762+
'it_interval' is the interval for the timer. Note the timer might be set up
1763+
with TIMER_ABSTIME option which will be shown in 'settime flags', but 'it_value'
1764+
still exhibits timer's remaining time.
17461765

17471766
------------------------------------------------------------------------------
17481767
Configuring procfs

0 commit comments

Comments
 (0)