Hooray! I was always annoyed by this output. Thanks Miroslav, Jake
On Wed, 2014-01-08 at 14:23 +0100, Miroslav Lichvar wrote: > Negative path delay measurements are expected with E2E, the user doesn't > need to know when that happens. > > Signed-off-by: Miroslav Lichvar <mlich...@redhat.com> > --- > clock.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/clock.c b/clock.c > index 9d5a937..063155b 100644 > --- a/clock.c > +++ b/clock.c > @@ -997,13 +997,13 @@ void clock_path_delay(struct clock *c, struct timespec > req, struct timestamp rx, > pd = tmv_div(pd, 2); > > if (pd < 0) { > - pr_warning("negative path delay %10lld", pd); > - pr_warning("path_delay = (t2 - t3) + (t4 - t1) - (c1 + c2 + > c3)"); > - pr_warning("t2 - t3 = %+10lld", t2 - t3); > - pr_warning("t4 - t1 = %+10lld", t4 - t1); > - pr_warning("c1 %10lld", c1); > - pr_warning("c2 %10lld", c2); > - pr_warning("c3 %10lld", c3); > + pr_debug("negative path delay %10lld", pd); > + pr_debug("path_delay = (t2 - t3) + (t4 - t1) - (c1 + c2 + c3)"); > + pr_debug("t2 - t3 = %+10lld", t2 - t3); > + pr_debug("t4 - t1 = %+10lld", t4 - t1); > + pr_debug("c1 %10lld", c1); > + pr_debug("c2 %10lld", c2); > + pr_debug("c3 %10lld", c3); > } > > c->path_delay = filter_sample(c->delay_filter, pd); ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel