Merge cb30bf881c ("Merge tag 'trace-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace") into android-mainline
Steps on the way to v7.1-rc1 Change-Id: Ibe660fa810e02799acc6b1b40ed731b6d29c6a4c Signed-off-by: Carlos Llamas <cmllamas@google.com>
This commit is contained in:
commit
9a88a706cd
364 files changed
+15203
-5247
No files matched your search
@@ -301,6 +301,8 @@ static int tracepoint_add_func(struct tracepoint *tp,
|
||||
lockdep_is_held(&tracepoints_mutex));
|
||||
old = func_add(&tp_funcs, func, prio);
|
||||
if (IS_ERR(old)) {
|
||||
if (tp->ext && tp->ext->unregfunc && !static_key_enabled(&tp->key))
|
||||
tp->ext->unregfunc();
|
||||
WARN_ON_ONCE(warn && PTR_ERR(old) != -ENOMEM);
|
||||
return PTR_ERR(old);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user