util/u_trace: add end_of_pipe property to tracepoints
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 Nov 2021 09:30:50 +0000 (11:30 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Dec 2021 15:14:05 +0000 (15:14 +0000)
commit65697d6141bb17360e31d2eda9931451be46ac12
tree1d1273eb86f183574d40d5b52c918dccfd05c86d
parent6f54ebe44f7c9dcb52c89684aa160277e1e5ba2c
util/u_trace: add end_of_pipe property to tracepoints

In order to capture the timestamp when things actually end on Intel
GPU HW, we need to know whether the timestamp should be capture at the
top or end of pipeline.

v2: use one line python if/else (Danylo)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13911>
src/freedreno/vulkan/tu_device.c
src/gallium/drivers/freedreno/freedreno_context.c
src/util/perf/u_trace.c
src/util/perf/u_trace.h
src/util/perf/u_trace.py
src/util/perf/u_trace_priv.h