On Thu, 1 Jun 2023, Marcelo Tosatti wrote: > > Remove the newline from the trace mark message: it breaks > tools that expect the trace files to contain the standard > trace format on each new trace line. > > Signed-off-by: Marcelo Tosatti <mtosatti@xxxxxxxxxx> > > diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c > index b680f1e..99f86b8 100644 > --- a/src/oslat/oslat.c > +++ b/src/oslat/oslat.c > @@ -337,8 +337,7 @@ static void insert_bucket(struct thread *t, stamp_t value) > lat = (value * g.unit_per_us + t->counter_mhz - 1) / t->counter_mhz; > us = (double)lat / g.unit_per_us; > if (!g.preheat && g.trace_threshold && us >= g.trace_threshold) { > - char *line = "%s: Trace threshold (%d us) triggered on cpu %d with %.*f us!\n" > - "Stopping the test.\n"; > + char *line = "%s: Trace threshold (%d us) triggered on cpu %d with %.*f us!\n"; > tracemark(line, g.app_name, g.trace_threshold, t->core_i, > g.precision, us); > err_quit(line, g.app_name, g.trace_threshold, t->core_i, > > Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>