trace-cmd library: Fix memory leak in tracecmd_close()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | trace-cmd library: Use cpu_data variable to shorten commandslib/ | +17 | 0 replies | |
| 2/2 | trace-cmd library: Fix memory leak of page_mapslib/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] trace-cmd library: Fix memory leak in tracecmd_close()
From: "Steven Rostedt (Google)" <[email protected]>
While writing the trace-cmd analyze command, I ran valgrind on it and found that tracecmd_close() does not clean up the page_maps that were created, at least not when reading a v6 file.
Steven Rostedt (Google) (2):
trace-cmd library: Use cpu_data variable to shorten commands trace-cmd library: Fix memory leak of page_maps
lib/trace-cmd/trace-input.c | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-)
Signature · 1 line
2.35.1