public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [RFC] Support process.plt for ARM
@ 2013-04-04 21:06 Torsten Polle
  0 siblings, 0 replies; only message in thread
From: Torsten Polle @ 2013-04-04 21:06 UTC (permalink / raw)
  To: systemtap

Hi,

process.plt probes are so far not supported for ARM. The patch adds this
support. I confirmed the figures with normal ARM code and thumb code,
but I'm not sure whether they are always correct.

Kind Regards,
Torsten


From f724061b4cec3a5adc398ad2ca5c7ce3a31dd70a Mon Sep 17 00:00:00 2001
Message-Id:
<f724061b4cec3a5adc398ad2ca5c7ce3a31dd70a.1364591144.git.Torsten.Polle@gmx.de>
From: Torsten Polle <Torsten.Polle@gmx.de>
Date: Fri, 29 Mar 2013 21:56:31 +0100
Subject: [PATCH] Enable process.plt probes for ARM.


Signed-off-by: Torsten Polle <Torsten.Polle@gmx.de>
---
dwflpp.cxx |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dwflpp.cxx b/dwflpp.cxx
index e2acd79..0317584 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -1380,6 +1380,7 @@ dwflpp::iterate_over_plt (void *object, void
(*callback)(void *object, const cha
{
case EM_386:    plt0_entry_size = 16; plt_entry_size = 16; break;
case EM_X86_64: plt0_entry_size = 16; plt_entry_size = 16; break;
+  case EM_ARM:    plt0_entry_size = 20; plt_entry_size = 12; break;
case EM_PPC64:
case EM_S390:
case EM_PPC:
-- 
1.7.4.1	

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-04 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-04 21:06 [RFC] Support process.plt for ARM Torsten Polle

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 read-only IMAP folder(s) and NNTP newsgroup(s).