lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: post 3.5, phantom signals.
    From
    Date
    Oleg Nesterov <oleg@redhat.com> writes:

    > [...]
    > Well, not sure this will help... but if you can reproduce this,
    > may be you can identify the sender of the wrong SIGHUP at least.
    >
    > cd /sys/kernel/debug/tracing/
    > echo "sig==1" >> events/signal/signal_generate/filter
    > echo 1 >> options/stacktrace
    > echo 1 >> events/signal/signal_generate/enable
    > cat trace_pipe > SIGHUP_TRACE

    FWIW, just in case your ftrace subsystem is already busy, this
    two-liner is equivalent:

    # stap -o SIGHUP_TRACE -e 'probe kernel.trace("signal_generate")
    { if ($sig==1) print_backtrace() }'

    - FChE


    \
     
     \ /
      Last update: 2012-08-02 03:41    [W:0.020 / U:0.724 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site