diff mbox

xenalyze: fix a spurious newline

Message ID 146363069565.662.6068103377006465470.stgit@Solace.fritz.box (mailing list archive)
State New, archived
Headers show

Commit Message

Dario Faggioli May 19, 2016, 4:04 a.m. UTC
in dump mode, when tracing context switches.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
Cc: George Dunlap <george.dunlap@eu.citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
 tools/xentrace/xenalyze.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

George Dunlap May 19, 2016, 9:07 a.m. UTC | #1
On 19/05/16 05:04, Dario Faggioli wrote:
> in dump mode, when tracing context switches.
> 
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>

Acked-by: George Dunlap <george.dunlap@citrix.com>

> ---
> Cc: George Dunlap <george.dunlap@eu.citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> ---
>  tools/xentrace/xenalyze.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
> index b949986..01ead8b 100644
> --- a/tools/xentrace/xenalyze.c
> +++ b/tools/xentrace/xenalyze.c
> @@ -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");
>              }
>
Wei Liu May 19, 2016, 9:19 a.m. UTC | #2
On Thu, May 19, 2016 at 10:07:44AM +0100, George Dunlap wrote:
> On 19/05/16 05:04, Dario Faggioli wrote:
> > in dump mode, when tracing context switches.
> > 
> > Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> 
> Acked-by: George Dunlap <george.dunlap@citrix.com>
> 

Ack and queued.

> > ---
> > Cc: George Dunlap <george.dunlap@eu.citrix.com>
> > Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> > Cc: Wei Liu <wei.liu2@citrix.com>
> > ---
> >  tools/xentrace/xenalyze.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
> > index b949986..01ead8b 100644
> > --- a/tools/xentrace/xenalyze.c
> > +++ b/tools/xentrace/xenalyze.c
> > @@ -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");
> >              }
> > 
>
diff mbox

Patch

diff --git a/tools/xentrace/xenalyze.c b/tools/xentrace/xenalyze.c
index b949986..01ead8b 100644
--- a/tools/xentrace/xenalyze.c
+++ b/tools/xentrace/xenalyze.c
@@ -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");
             }