]> Git Repo - linux.git/commit - fs/proc/base.c
posix-timers: Show sigevent info in proc file
authorPavel Emelyanov <[email protected]>
Mon, 11 Mar 2013 09:13:08 +0000 (13:13 +0400)
committerThomas Gleixner <[email protected]>
Wed, 17 Apr 2013 18:51:01 +0000 (20:51 +0200)
commit57b8015e07a70301e9ec9f324db1a8b73b5a1e2b
treefb2b5bae45c3c9f437b57379a8fa1279e220d6d0
parent48f6a7a511ef8823fdff39afee0320092d43a8a0
posix-timers: Show sigevent info in proc file

Previous patch added proc file to list posix timers created by task.
Expand the information provided in this file by adding info about
notification method, with which timers were created. I.e. after
the "ID:" line there go

1. "signal:" line, that shows signal number and sigval bits;
2. "notify:" line, that shows the timer notification method.

Thus the timer entry would looke like this:

ID: 123
signal: 14/0000000000b005d0
notify: signal/pid.732

This information is enough to understand how timer_create() was called
for each particular timer.

Signed-off-by: Pavel Emelyanov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Cc: Matthew Helsley <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
fs/proc/base.c
This page took 0.047625 seconds and 4 git commands to generate.