mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
gfxstream: Use logging functions for call tracing
Reviewed-by: Marcin Radomski <dextero@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35323>
This commit is contained in:
parent
9bc395fca4
commit
5a5810d2f0
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ def emit_call_log(api, cgen):
|
|||
paramLogFormat += "0x%llx "
|
||||
for p in paramsToRead:
|
||||
paramLogArgs.append("(unsigned long long)%s" % (p.paramName))
|
||||
cgen.stmt("fprintf(stderr, \"stream %%p: call %s %s\\n\", ioStream, %s)" % (api.name, paramLogFormat, ", ".join(paramLogArgs)))
|
||||
cgen.stmt("GFXSTREAM_INFO(\"stream %%p: call %s %s\", ioStream, %s)" % (api.name, paramLogFormat, ", ".join(paramLogArgs)))
|
||||
cgen.endIf()
|
||||
|
||||
def emit_decode_parameters(typeInfo: VulkanTypeInfo, api: VulkanAPI, cgen, globalWrapped=False):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue