Re: [PATCH] sample-trace-array: Fix sleeping function called from invalid context

2020-06-08 Thread Divya Indi
Hi Kefeng, Thanks for catching this issue. Please find my comments line - On 6/8/20 12:54 AM, Kefeng Wang wrote: > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:935 > in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/5 > 1 lock held by s

Re: [PATCH] sample-trace-array: Fix sleeping function called from invalid context

2020-06-08 Thread Divya Indi
Hi Steve, Sure, I am looking into it and reviewing the patch. Thanks, Divya On 6/8/20 7:37 AM, Steven Rostedt wrote: > On Mon, 8 Jun 2020 07:54:37 + > Kefeng Wang wrote: > >> BUG: sleeping function called from invalid context at >> kernel/locking/mutex.c:935 >> in_atomic(): 1, irqs_disab

Re: [PATCH] sample-trace-array: Fix sleeping function called from invalid context

2020-06-08 Thread Steven Rostedt
On Mon, 8 Jun 2020 07:54:37 + Kefeng Wang wrote: > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:935 > in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/5 > 1 lock held by swapper/5/0: > #0: 80001002bd90 (samples/ftrace/sample-t

[PATCH] sample-trace-array: Fix sleeping function called from invalid context

2020-06-08 Thread Kefeng Wang
BUG: sleeping function called from invalid context at kernel/locking/mutex.c:935 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/5 1 lock held by swapper/5/0: #0: 80001002bd90 (samples/ftrace/sample-trace-array.c:38){+.-.}-{0:0}, at: call_timer_fn+0x8/0x3e0 CPU: