• P
    posix-timers: Show sigevent info in proc file · 57b8015e
    Pavel Emelyanov 提交于
    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: NPavel Emelyanov <xemul@parallels.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Michael Kerrisk <mtk.manpages@gmail.com>
    Cc: Matthew Helsley <matt.helsley@gmail.com>
    Link: http://lkml.kernel.org/r/513DA024.80404@parallels.comSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
    57b8015e
base.c 77.4 KB