diff options
author | Zhiqiang Liu <[email protected]> | 2022-07-20 10:46:48 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-08-02 15:13:19 -0400 |
commit | 59927cbe3f30c5ed7fc5d33487ef06611394a548 (patch) | |
tree | 4339dc64bb92cb92821e0a76abdc98b87c04b932 /scripts/gdb/linux/clk.py | |
parent | 4c3d2f9388d36eb28640a220a6f908328442d873 (diff) |
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/[email protected]
Signed-off-by: Zhiqiang Liu <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions