]> git.baikalelectronics.ru Git - kernel.git/commit
sample-trace-array: Remove trace_array 'sample-instance'
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 9 Jun 2020 13:52:00 +0000 (13:52 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 17 Jun 2020 01:21:02 +0000 (21:21 -0400)
commit39c85c74b7b75a54a8e992c620f4f8c9df4496d9
tree28d9512955eacc1e7ff4ffd892f4d08b34804a62
parentd95d17990482a734ebc0d728c5f4eb709c18390e
sample-trace-array: Remove trace_array 'sample-instance'

Remove trace_array 'sample-instance' if kthread_run fails
in sample_trace_array_init().

Link: https://lkml.kernel.org/r/20200609135200.2206726-1-wangkefeng.wang@huawei.com
Cc: stable@vger.kernel.org
Fixes: 3fd1deef9d8a6 ("tracing: Sample module to demonstrate kernel access to Ftrace instances.")
Reviewed-by: Divya Indi <divya.indi@oracle.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
samples/ftrace/sample-trace-array.c