perfetto: fix perfetto counter following perfetto v46.0

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30555>
This commit is contained in:
Romaric Jodin 2024-07-29 14:48:32 +02:00 committed by Marge Bot
parent 2e2b83f72d
commit f981cd8e01

View file

@ -103,7 +103,8 @@ util_perfetto_trace_full_end(const char *name, uint64_t track_id, uint64_t times
void
util_perfetto_counter_set(const char *name, double value)
{
TRACE_COUNTER(UTIL_PERFETTO_CATEGORY_DEFAULT_STR, name, value);
TRACE_COUNTER(UTIL_PERFETTO_CATEGORY_DEFAULT_STR,
perfetto::DynamicString(name), value);
}
uint64_t