This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[RFC] Support process.plt for ARM
- From: Torsten Polle <Torsten dot Polle at gmx dot de>
- To: systemtap at sourceware dot org
- Date: Thu, 4 Apr 2013 23:06:19 +0200
- Subject: [RFC] Support process.plt for ARM
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