Re: [PATCH] ftrace: use a global counter for the global clock

From: Steven Rostedt
Date: Fri Sep 16 2011 - 09:23:47 EST


On Fri, 2011-09-16 at 14:36 +0200, Peter Zijlstra wrote:
> On Fri, 2011-09-16 at 08:18 -0400, Steven Rostedt wrote:
> > + return atomic64_add_return(1, &trace_counter);
>
> Oh, fwiw I modified mine to increment by 1000 because we're showing us
> in the trace output, 1000 lines with the same 'time'-stamp is slightly
> confusing even though you know the order is absolutely right...


Or I could change it so that if counter clock is set, just show that
field as a counter too.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/