mesa/src/util/perf
Danylo Piliaiev 3e1f06b079
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
tu: Don't leak pre_chain.rp_trace, and correct u_trace_move
pre_chain.rp_trace usage relied on a bunch of bad assumptions
and together with u_trace_move didn't cause issues until
u_trace is started to be refactored. Fixing those bad assumptions
and correctly initializing and freeing pre_chain.rp_trace
also requires fixing u_trace_move at the same time.

u_trace_move fixes:
- If dst had trace chunks in it - we may have leaked them.
- The correct list move pattern is "list_replace -> list_inithead"
  not "list_replace -> list_delinit"

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41390>
2026-05-09 10:31:41 +00:00
..
.clang-format
cpu_trace.h util/android_stub: drop legacy atrace 2026-04-27 23:29:27 +00:00
gpuvis_trace_utils.h util/perf: Fix some warnings. 2024-12-02 15:15:52 +00:00
u_gpuvis.c
u_gpuvis.h
u_perfetto.cc perfetto: allow specifying clock domain for cpu timestamps 2025-08-19 09:50:36 +00:00
u_perfetto.h perfetto: allow specifying clock domain for cpu timestamps 2025-08-19 09:50:36 +00:00
u_perfetto_renderpass.h perfetto: allow specifying clock domain for cpu timestamps 2025-08-19 09:50:36 +00:00
u_sysprof.c util/perf: Add support for conditional CPU scope traces 2026-02-03 15:41:50 +00:00
u_sysprof.h util/perf: Add support for conditional CPU scope traces 2026-02-03 15:41:50 +00:00
u_trace.c tu: Don't leak pre_chain.rp_trace, and correct u_trace_move 2026-05-09 10:31:41 +00:00
u_trace.h util/u_trace: Add u_trace_move() 2025-06-26 22:51:29 +00:00
u_trace.py util/u_trace: Fix usage of variable-sized strings in non-queued case 2026-01-30 16:41:46 +00:00
u_trace_compare.py util/u_trace: Add scripts for perf analysis based on u_trace results 2025-07-22 21:15:51 +00:00
u_trace_gather.py util/u_trace: Add scripts for perf analysis based on u_trace results 2025-07-22 21:15:51 +00:00
u_trace_priv.h u_trace: add support for indirect data 2024-08-03 16:03:00 +03:00