perf timechart: Small optimization for backtrace
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesIn review
- v14 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf timechart: Don't pass @event to cat_backtrace()tools/ | +5 | 0 replies | |
| 2/4 | perf timechart: Generate backtrace only if neededtools/ | +10 | 0 replies | |
| 3/4 | perf timechart: Remove unused backtrace in trace_handlertools/ | +23 | 0 replies | |
| 4/4 | perf timechart: Remove unnecessary copy of backtracetools/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] perf timechart: Small optimization for backtrace
Hello,
I found an issue int timechart backtrace handling during the last review. The goal is to reduce unnecessary work in generating backtrace string.
v2 changes)
* fix memory leaks when backtrace is not used
* copy backtrace when it's used twice
Thanks,
Namhyung
Namhyung Kim (4):
perf timechart: Don't pass @event to cat_backtrace() perf timechart: Generate backtrace only if needed perf timechart: Remove unused backtrace in trace_handler perf timechart: Remove unnecessary copy of backtrace
tools/perf/builtin-timechart.c | 107 ++++++++++++++++----------------- 1 file changed, 52 insertions(+), 55 deletions(-)
Signature · 1 line
2.54.0.1032.g2f8565e1d1-goog