All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2]: Add sparc64 ftrace support.
@ 2008-05-14  5:06 David Miller
  2008-05-14  6:30 ` Ingo Molnar
  2008-05-14 13:09 ` [PATCH 0/2]: Add sparc64 ftrace support Steven Rostedt
  0 siblings, 2 replies; 9+ messages in thread
From: David Miller @ 2008-05-14  5:06 UTC (permalink / raw)
  To: mingo; +Cc: acme, srostedt, linux-kernel


This was a lot more trivial than I expected, about a 20 minute
hack.  Most of the time was spent on test boots :)

The first patch removes the packed attribute from the ftrace_page
blob of dynamic ftrace entries, because not only does it cause
unaligned accesses on sparc64 it's also totally useless.

The second patch adds sparc64 ftrace support.

One thing I noticed is that sparc64 uses an mcount implementation
already for a quick-and-dirty stack usage checker.  I tried to
make them live alongside eachother.

Next, I think the mcount symbol export needs some tweaking.  On sparc,
the symbol _mcount is what the compiler references (this seems to be a
sparc sysv4'ism) whereas on x86 it appears that plain "mcount" is
used.  I provide both symbols and we already have a local export of
"_mcount" to take care of this.  I think architectures should deal
with this symbol exporting since it is different on every system.

Signed-off-by: David S. Miller <davem@davemloft.net>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-05-19 15:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14  5:06 [PATCH 0/2]: Add sparc64 ftrace support David Miller
2008-05-14  6:30 ` Ingo Molnar
2008-05-14  6:51   ` Sam Ravnborg
2008-05-14  7:01     ` Ingo Molnar
2008-05-14  7:11       ` David Miller
2008-05-14  7:18         ` Ingo Molnar
2008-05-17  4:01         ` [PATCH] ftrace: add have dynamic ftrace config for archs Steven Rostedt
2008-05-19 15:21           ` Ingo Molnar
2008-05-14 13:09 ` [PATCH 0/2]: Add sparc64 ftrace support Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.