aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZhiqiang Liu <liuzhiqiang26@huawei.com>2022-07-20 10:46:48 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-08-02 15:13:19 -0400
commit59927cbe3f30c5ed7fc5d33487ef06611394a548 (patch)
tree4339dc64bb92cb92821e0a76abdc98b87c04b932 /include
parenttracing: Use a struct alignof to determine trace event field alignment (diff)
downloadlinux-dev-59927cbe3f30c5ed7fc5d33487ef06611394a548.tar.xz
linux-dev-59927cbe3f30c5ed7fc5d33487ef06611394a548.zip
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')
0 files changed, 0 insertions, 0 deletions