lkml.org 
[lkml]   [2011]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ftrace: use a global counter for the global clock
From
Date
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




\
 
 \ /
  Last update: 2011-09-16 15:25    [W:0.072 / U:2.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site