Re: [PATCH 02/22 -v7] Add basic support for gcc profiler instrumentation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steven Rostedt
Date: Wednesday, January 30, 2008 - 6:08 am

On Wed, 30 Jan 2008, Peter Zijlstra wrote:


OK, fair enough. I'll explain it a bit more.

How's this:

 /*
  * We are entering ops into the mcount_list but another
  * CPU might be walking that list. We need to make sure
  * the ops->next pointer is valid before another CPU sees
  * the ops pointer included into the mcount_list.
  */

-- Steve

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 02/22 -v7] Add basic support for gcc profiler i ..., Steven Rostedt, (Wed Jan 30, 6:08 am)