mesa/src/util/perf
Yonggang Luo 5229a147c1 util: getting get_tracefile in u_trace.c to be thread safe
Remove the usage of DEBUG_GET_ONCE_FILE_OPTION because it's not a truly
once function, it's return a new FILE* object when calling to it when
the conditions are satisfied.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7151

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18323>
2022-09-22 04:16:29 +00:00
..
cpu_trace.h util/perf: support and prefer perfetto for cpu trace 2022-08-26 21:47:44 +00:00
u_perfetto.cc util/perfetto: add a simple C wrapper for track events 2022-08-26 21:47:44 +00:00
u_perfetto.h util/perfetto: add a simple C wrapper for track events 2022-08-26 21:47:44 +00:00
u_trace.c util: getting get_tracefile in u_trace.c to be thread safe 2022-09-22 04:16:29 +00:00
u_trace.h util/perf: use ALWAYS_INLINE for tracepoints 2022-09-02 19:46:50 +00:00
u_trace.py util/perf: use ALWAYS_INLINE for tracepoints 2022-09-02 19:46:50 +00:00
u_trace_priv.h util/u_trace: Add json output 2022-05-19 07:41:45 +00:00