Module: xenomai-jki
Branch: for-upstream
Commit: d4f1b549a17a843e076d57ffb868ca0ed24db198
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=d4f1b549a17a843e076d57ffb868ca0ed24db198

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Tue Nov 10 23:18:08 2009 +0100

nucleus: Improve lostage_work instrumentation

The request type is actually interesting, not its slot number.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/nucleus/shadow.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/nucleus/shadow.c b/ksrc/nucleus/shadow.c
index e924637..6046143 100644
--- a/ksrc/nucleus/shadow.c
+++ b/ksrc/nucleus/shadow.c
@@ -731,8 +731,8 @@ static void lostage_handler(void *cookie)
                rq->out = (reqnum + 1) & (LO_MAX_REQUESTS - 1);
 
                trace_mark(xn_nucleus, lostage_work,
-                          "reqnum %d comm %s pid %d",
-                          reqnum, p->comm, p->pid);
+                          "type %d comm %s pid %d",
+                          type, p->comm, p->pid);
 
                switch (type) {
                case LO_UNMAP_REQ:


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to