Skip to contentSkip to conversation

xenalyze: fix a spurious newline

PATCH New Dario Faggioli 3 participants 4 messages May 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xenalyze: fix a spurious newline

Hey Wei,

I know where we stand in the release process, but the patch is so trivial and free of risks, and the trace output, with the spurious newline, so disturbing, that I think this should go in.

Regards,
Dario
---

Dario Faggioli (1):
xenalyze: fix a spurious newline

 tools/xentrace/xenalyze.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw

PATCH 1/1 xenalyze: fix a spurious newline

in dump mode, when tracing context switches.

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/xentrace/xenalyze.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xentrace/xenalyze.c +1 -1
index b949986..01ead8b 100644
@@ -7655,7 +7655,7 @@ void sched_process(struct pcpu_info *p)
                     printf(", was runnable for %u.%uus, ", r->rsince / 1000,
                            r->rsince % 1000);
                 if ( r->slice > 0 )
-                    printf("next slice %u.%uus\n", r->slice / 1000,
+                    printf("next slice %u.%uus", r->slice / 1000,
                            r->slice % 1000);
                 printf("\n");
             }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Acked-by on v1 1/1
#2 lore raw
Quoted 3 lines · Dario Faggioli

in dump mode, when tracing context switches.

Quoted 14 lines

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/xentrace/xenalyze.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xentrace/xenalyze.c +0 -0
index b949986..01ead8b 100644

tools/xentrace/xenalyze.c void sched_process(struct pcpu_info *p) · line 7661

Quoted 8 lines
tools/xentrace/xenalyze.c +1 -1
@@ -7655,7 +7655,7 @@ void sched_process(struct pcpu_info *p)
                     printf(", was runnable for %u.%uus, ", r->rsince / 1000,
                            r->rsince % 1000);
                 if ( r->slice > 0 )
-                    printf("next slice %u.%uus\n", r->slice / 1000,
+                    printf("next slice %u.%uus", r->slice / 1000,
                            r->slice % 1000);
                 printf("\n");
             }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 7 lines · George Dunlap
Quoted 3 lines · Dario Faggioli

in dump mode, when tracing context switches.

Ack and queued.

Quoted 8 lines
Quoted 8 lines

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>

---
 tools/xentrace/xenalyze.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
Quoted 6 lines
tools/xentrace/xenalyze.c +0 -0
index b949986..01ead8b 100644

tools/xentrace/xenalyze.c void sched_process(struct pcpu_info *p) · line 7661

Quoted 8 lines
tools/xentrace/xenalyze.c +1 -1
@@ -7655,7 +7655,7 @@ void sched_process(struct pcpu_info *p)
                     printf(", was runnable for %u.%uus, ", r->rsince / 1000,
                            r->rsince % 1000);
                 if ( r->slice > 0 )
-                    printf("next slice %u.%uus\n", r->slice / 1000,
+                    printf("next slice %u.%uus", r->slice / 1000,
                            r->slice % 1000);
                 printf("\n");
             }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel