ref: aa6a69e2103f6367db8fe547786fec3f23987538
parent: 1f0e8358d456f48f0b00fbb63abea11bee1ce612
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Dec 24 09:30:33 EST 2019
Rwalk: trace qids
--- a/9pex.c
+++ b/9pex.c
@@ -726,8 +726,12 @@
trace(" \"%s\"", t->walk.wname[i]);
trace("\n");
walk(t->fid, t->walk.newfid, t->walk.wname, qids, &err);
- if (err == NULL && s9do(s9walk(c, t->tag, qids), &err) == 0)
- trace("<- Rwalk tag=%d ...\n", t->tag);
+ if (err == NULL && s9do(s9walk(c, t->tag, qids), &err) == 0) {
+ trace("<- Rwalk tag=%d ", t->tag);
+ for (i = 0; qids[i] != NULL; i++)
+ trace("qid=[path=%"PRIu64" type=0x%02x version=%"PRIu32"] ", qids[i]->path, qids[i]->type, qids[i]->version);
+ trace("\n");
+ }
break;
case Topen:
trace(" fid=%d mode=0x%02x\n", t->fid, t->open.mode);