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

From: Steven Rostedt
Date: Fri Sep 16 2011 - 09:24:56 EST


On Fri, 2011-09-16 at 09:23 -0400, Steven Rostedt wrote:
> 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.
>

Hmm, as I have other things to work on. I think I'll take your
suggestion of the 1000 increment for now ;)

-- 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/