The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ipc: log ipc calls and dispatch with IPC_PRINT_SPEW

+6
+6
src/xrt/ipc/shared/proto.py
··· 109 109 call.write_call_decl(f) 110 110 f.write("\n{\n") 111 111 112 + f.write("\tIPC_SPEW(ipc_c, \"Calling " + call.name + "\");\n\n") 113 + 112 114 # Message struct 113 115 if call.needs_msg_struct: 114 116 f.write("\tstruct ipc_" + call.name + "_msg _msg = {\n") ··· 258 260 259 261 for call in p.calls: 260 262 f.write("\tcase " + call.id + ": {\n") 263 + 264 + f.write("\t\tIPC_SPEW(ics->server, \"Dispatching " + call.name + 265 + "\");\n\n") 266 + 261 267 if call.needs_msg_struct: 262 268 f.write( 263 269 "\t\tstruct ipc_{}_msg *msg =\n".format(call.name))