Re: [PATCH] ftrace: use a global counter for the global clock
From: Peter Zijlstra
Date: Fri Sep 16 2011 - 08:36:50 EST
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...
--
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/