lkml.org 
[lkml]   [2004]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [mm patch] oprofile: backtrace operation does not initialized
On Thu, Dec 09, 2004 at 11:39:06AM +1100, Greg Banks wrote:

> But for now I don't see any drama with leaving in the ->setup() and
> ->shutdown() methods when rewriting the ops structure. Ditto for
> the ->create_files() methods.

Wouldn't this mean that we try to set up the NMI stuff regardless of
forcing the timer ? I can imagine a flaky system where somebody needs to
avoid going near that stuff.

timer_init() making sure to set all fields seems reasonable to me. Or
oprofile_init() could grab ->backtrace, memset the structure, then
replace ->backtrace...

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

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2011 Jasper Spaans