[ Not sure if this is known and fixed in newer kernels. My machine
becomes unusable after this warning triggers ]
perf record -g -p <pid> cs -o csw.data -- sleep 3
Feb 7 15:28:36 localhost kernel: WARNING: at kernel/perf_event.c:1302
task_ctx_sched_out+0x45/0x67()
..
Feb 7 15:28:36 localhost kernel: [<ffffffff8103c60d>]
warn_slowpath_null+0x15/0x17
Feb 7 15:28:36 localhost kernel: [<ffffffff8109e3b6>]
task_ctx_sched_out+0x45/0x67
Feb 7 15:28:36 localhost kernel: [<ffffffff8109e3b6>]
task_ctx_sched_out+0x45/0x67
Feb 7 15:28:36 localhost kernel: [<ffffffff810a207f>]
perf_event_exit_task+0xca/0x196
Feb 7 15:28:36 localhost kernel: [<ffffffff810a207f>]
perf_event_exit_task+0xca/0x196
Feb 7 15:28:36 localhost kernel: [<ffffffff8103fb3f>] do_exit+0x2c5/0x6e6
Feb 7 15:28:36 localhost kernel: [<ffffffff8103fb3f>] do_exit+0x2c5/0x6e6
Feb 7 15:28:36 localhost kernel: [<ffffffff81040021>] complete_and_exit+0x0/0x1e
Feb 7 15:28:36 localhost kernel: [<ffffffff81040021>] complete_and_exit+0x0/0x1e
Feb 7 15:28:36 localhost kernel: [<ffffffff8100293b>]
system_call_fastpath+0x16/0x1b
Feb 7 15:28:36 localhost kernel: [<ffffffff8100293b>]
system_call_fastpath+0x16/0x1b
1301
1302 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx))
1303 return;
-Arun
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]