mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xenstored: print domain id in traces
It is very helpful to see domain id why analyzing xenstored traces. Especially when you are trying to understand which exactly domain performs an action. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Reviewed-by: Juergen Gross <jgross@suse.com> [jgrall: Use %u rather than %d] Signed-off-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
6cd046c501
commit
97f8555acb
1 file changed
+2
-2
@@ -135,8 +135,8 @@ static void trace_io(const struct connection *conn,
|
||||
now = time(NULL);
|
||||
tm = localtime(&now);
|
||||
|
||||
trace("io: %s %p %04d%02d%02d %02d:%02d:%02d %s (",
|
||||
out ? "OUT" : "IN", conn,
|
||||
trace("io: %s %p (d%d) %04d%02d%02d %02d:%02d:%02d %s (",
|
||||
out ? "OUT" : "IN", conn, conn->id,
|
||||
tm->tm_year + 1900, tm->tm_mon + 1,
|
||||
tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec,
|
||||
sockmsg_string(data->hdr.msg.type));
|
||||
|
||||