Skip to contentSkip to conversation

xenalyze: indent multicall subcalls in dump-all view

PATCH Applied David Vrabel 2 participants 2 messages Jul 22, 2013 – Jul 24, 2013

lore
Share & tools
lore
#0 lore raw

This was accidentally ommitted from the original commit c02cd0695011 (xenalyze: decode PV_HYPERCALL_SUBCALL events).

---

xenalyze.c +4 -4
diff -r 2080678babbf xenalyze.c
@@ -6682,11 +6682,11 @@ void pv_hypercall_v2_process(struct reco
         uint64_t args[6];
 
         if(op < HYPERCALL_MAX)
-            printf(" %s hypercall %2x (%s)",
-                   ri->dump_header, op, hypercall_name[op]);
+            printf(" %s%s hypercall %2x (%s)",
+                   ri->dump_header, indent, op, hypercall_name[op]);
         else
-            printf(" %s hypercall %2x",
-                   ri->dump_header, op);
+            printf(" %s%s hypercall %2x",
+                   ri->dump_header, indent, op);
 
         switch(op) {
         case HYPERCALL_mmu_update:
#1 lore raw
Quoted 4 lines · David Vrabel

This was accidentally ommitted from the original commit c02cd0695011 (xenalyze: decode PV_HYPERCALL_SUBCALL events).

Applied, thanks.

-George

Quoted 21 lines

---
diff -r 2080678babbf xenalyze.c

xenalyze.c +4 -4
@@ -6682,11 +6682,11 @@ void pv_hypercall_v2_process(struct reco
          uint64_t args[6];
 
          if(op < HYPERCALL_MAX)
-            printf(" %s hypercall %2x (%s)",
-                   ri->dump_header, op, hypercall_name[op]);
+            printf(" %s%s hypercall %2x (%s)",
+                   ri->dump_header, indent, op, hypercall_name[op]);
          else
-            printf(" %s hypercall %2x",
-                   ri->dump_header, op);
+            printf(" %s%s hypercall %2x",
+                   ri->dump_header, indent, op);
 
          switch(op) {
          case HYPERCALL_mmu_update: