linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Add gcov support to ARM
@ 2012-05-28 18:33 Vincent Sanders
  2012-05-28 18:33 ` [PATCH 1/2] Allow constructor name selection by architecture Vincent Sanders
  2012-05-28 18:33 ` [PATCH 2/2] Enable gcov support on the ARM architecture Vincent Sanders
  0 siblings, 2 replies; 12+ messages in thread
From: Vincent Sanders @ 2012-05-28 18:33 UTC (permalink / raw)
  To: linux-arm-kernel

These two patches add the necessary support for gcov on ARM. The idea
is based on an original patch in 2010 by George G. Davis
<gdavis@mvista.com> but re-implemented against 3.4.

The approach requires the constructor symbol name be adjusted as it is
different on ARM to other platforms (I have directly tested on x86 and
arm). Currently I cannot find another platform where the symbol name
is not .ctors but it can be readily added.

Once the constructors are called correctly the actual changes to the
ARM architecture is minimal and principally involves avoiding adding
gcov compilation options to the early boot code.

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

end of thread, other threads:[~2013-04-22  8:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-28 18:33 Add gcov support to ARM Vincent Sanders
2012-05-28 18:33 ` [PATCH 1/2] Allow constructor name selection by architecture Vincent Sanders
2012-05-28 20:30   ` Sam Ravnborg
2012-05-29  9:06     ` Russell King - ARM Linux
2012-06-06 10:12       ` Russell King - ARM Linux
2013-04-01 21:47         ` George G. Davis
2013-04-01 21:58           ` Sam Ravnborg
2013-04-01 22:21             ` George G. Davis
2013-04-18 12:39               ` Russell King - ARM Linux
2013-04-22  8:56                 ` Sam Ravnborg
2012-05-29  9:21     ` Vincent Sanders
2012-05-28 18:33 ` [PATCH 2/2] Enable gcov support on the ARM architecture Vincent Sanders

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).