Comment 2 for bug 687599

Revision history for this message
Nikolaus Rath (nikratio) wrote : Re: BUG: scheduling while atomic: python/3715/0x10000001

I have learned that the following is useful for debugging "scheduling while
atomic" bugs. The respective files are attached:

$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/options/latency-format"
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_enabled"
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_on"
$ sudo sh -c "echo function > /sys/kernel/debug/tracing/current_tracer"

(reproduced bug)

$ bzip2 -c /sys/kernel/debug/tracing/trace > trace.bz2
$ dmesg | bzip2 > dmesg.bz2