summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZhiqiang Liu <liuzhiqiang26@huawei.com>2022-07-20 05:46:48 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-08-02 22:13:19 +0300
commit59927cbe3f30c5ed7fc5d33487ef06611394a548 (patch)
tree4339dc64bb92cb92821e0a76abdc98b87c04b932 /include/linux
parent4c3d2f9388d36eb28640a220a6f908328442d873 (diff)
downloadlinux-59927cbe3f30c5ed7fc5d33487ef06611394a548.tar.xz
tracing: Use free_trace_buffer() in allocate_trace_buffers()
In allocate_trace_buffers(), if allocating tr->max_buffer fails, we can directly call free_trace_buffer to free tr->array_buffer. Link: https://lkml.kernel.org/r/65f0702d-07f6-08de-2a07-4c50af56a67b@huawei.com Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions