Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH v2 0/4] perf timechart: Small optimization for backtrace
@ 2026-06-04 21:49 Namhyung Kim
  2026-06-04 21:49 ` [PATCH v2 1/4] perf timechart: Don't pass @event to cat_backtrace() Namhyung Kim
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Namhyung Kim @ 2026-06-04 21:49 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ian Rogers, Jiri Olsa, Adrian Hunter, James Clark, Peter Zijlstra,
	Ingo Molnar, LKML, linux-perf-users

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(-)

-- 
2.54.0.1032.g2f8565e1d1-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-04 23:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-04 21:49 [PATCH v2 0/4] perf timechart: Small optimization for backtrace Namhyung Kim
2026-06-04 21:49 ` [PATCH v2 1/4] perf timechart: Don't pass @event to cat_backtrace() Namhyung Kim
2026-06-04 21:49 ` [PATCH v2 2/4] perf timechart: Generate backtrace only if needed Namhyung Kim
2026-06-04 21:49 ` [PATCH v2 3/4] perf timechart: Remove unused backtrace in trace_handler Namhyung Kim
2026-06-04 21:49 ` [PATCH v2 4/4] perf timechart: Remove unnecessary copy of backtrace Namhyung Kim
2026-06-04 22:38 ` [PATCH v2 0/4] perf timechart: Small optimization for backtrace Ian Rogers
2026-06-04 23:34   ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox