On Wed, 2008-05-14 at 23:49 -0400, Steven Rostedt wrote:
Hi Steven,
Just a few comments inline ..
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
:30:53.000000000 -0700
6.000000000 -0700
Why do we not want to trace early boot? Just because it's not useful?=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
19:30:50.000000000 -0700
:56.000000000 -0700
.. snip
#if 0, #if 1 ?
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
6.000000000 -0700
I don't grok what you're doing with CALL_BACK, you add it in places and
subtract in others - and it looks like you could do neither, but I haven't
gone over it in detail.
I should really add a #define for that.
And that.
.. snip
ng addr)
0x03fffffe should be 0x03fffffc, if you set bit 1 you'll end with a "bla" i=
nstruction,
ie. branch absolute and link. That shouldn't happen as long as ip and addr =
are
properly aligned, but still.
In fact I think you should just use create_function_call() or create_branch=
() from
include/asm-powerpc/system.h
We already have a #define for .long, it's called PPC_LONG (asm/asm-compat.h=
)
Perhaps we should add one for .align, PPC_LONG_ALIGN or something?
Or perhaps we just need a macro for adding exception table entries.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
19:30:50.000000000 -0700
:56.000000000 -0700
Can you please put the extern in a header, and the EXPORT_SYMBOL in arch/po=
werpc/kernel/ftrace.c?
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
19:30:50.000000000 -0700
:56.000000000 -0700
Ditto.
cheers
--=20
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person