tu/perfetto: Clean up an extra token paste to just use the arg being passed.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22278>
This commit is contained in:
@@ -393,8 +393,7 @@ tu_perfetto_submit(struct tu_device *dev, uint32_t submission_id)
|
||||
const struct trace_start_##event_name *payload) \
|
||||
{ \
|
||||
stage_start( \
|
||||
dev, ts_ns, stage_id, payload, \
|
||||
sizeof(struct trace_start_##event_name), \
|
||||
dev, ts_ns, stage_id, payload, sizeof(*payload), \
|
||||
(trace_payload_as_extra_func) &trace_payload_as_extra_start_##event_name); \
|
||||
} \
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user