summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-14 19:30:56 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-14 19:30:56 +0200
commit60ad8ebae62f472a9f089f51053a2d0d66c67a95 (patch)
tree777c4ec2ff2754d6d2767d2bc82e801d37d43a44 /runtime
parent412e8ec0dadbc0010c865f9a285a748b8d08c053 (diff)
downloadsystemtap-steved-60ad8ebae62f472a9f089f51053a2d0d66c67a95.tar.gz
systemtap-steved-60ad8ebae62f472a9f089f51053a2d0d66c67a95.tar.xz
systemtap-steved-60ad8ebae62f472a9f089f51053a2d0d66c67a95.zip
Keep track of relocation section sizes.
* runtime/sym.h (_stp_section): Add size field. * translate.cxx (dump_unwindsyms): Get start of module address space, turn seclist into vector of secname, size pairs, track relocation section size, or add module address range if no sections, output size in _stp_section list.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/sym.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/sym.h b/runtime/sym.h
index 586b10ca..80c334fb 100644
--- a/runtime/sym.h
+++ b/runtime/sym.h
@@ -18,6 +18,7 @@ struct _stp_symbol {
struct _stp_section {
const char *name;
unsigned long addr; /* XXX: belongs in per-address-space tables */
+ unsigned long size; /* length of the address space module covers. */
struct _stp_symbol *symbols; /* ordered by address */
unsigned num_symbols;
};