diff options
author | Kaitao Cheng <pilgrimtao@gmail.com> | 2019-12-31 05:35:30 -0800 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-03 11:43:03 -0500 |
commit | 50f9ad607ea891a9308e67b81f774c71736d1098 (patch) | |
tree | 6db7298f3e2a96477bd8533396ba3bc4127aca85 /include | |
parent | bf44f488e168368cae4139b4b33c3d0aaa11679c (diff) | |
download | lwn-50f9ad607ea891a9308e67b81f774c71736d1098.tar.gz lwn-50f9ad607ea891a9308e67b81f774c71736d1098.zip |
kernel/trace: Fix do not unregister tracepoints when register sched_migrate_task fail
In the function, if register_trace_sched_migrate_task() returns error,
sched_switch/sched_wakeup_new/sched_wakeup won't unregister. That is
why fail_deprobe_sched_switch was added.
Link: http://lkml.kernel.org/r/20191231133530.2794-1-pilgrimtao@gmail.com
Cc: stable@vger.kernel.org
Fixes: 478142c39c8c2 ("tracing: do not grab lock in wakeup latency function tracing")
Signed-off-by: Kaitao Cheng <pilgrimtao@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions