summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-12-15 17:51:49 +0100
committerMark Wielaard <mjw@redhat.com>2008-12-15 17:51:49 +0100
commit204038b16193de78eeb333fde0cce6081d9d1fcd (patch)
tree2c12a736ff63d012fe4f19940c19a289c1979f07 /runtime/sym.c
parent13d343c0c39e334cf11ee06cbc0f3ec01d440f41 (diff)
downloadsystemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.tar.gz
systemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.tar.xz
systemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.zip
Always include task_finder.c and enable emit_vm_callback_probe_decl.
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 9b295f58..82eef17d 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -92,7 +92,9 @@ static struct _stp_module *_stp_mod_sec_lookup(unsigned long addr,
if (entry != NULL && entry->module != NULL)
{
m = entry->module;
- *sec = & m->sections[0]; // XXX check actual section and relocate
+ *sec = &m->sections[0]; // XXX check actual section and relocate
+ dbug_sym(1, "found section %s in module %s at 0x%lx\n",
+ m->sections[0].name, m->name, entry->vm_start);
if (strcmp(".dynamic", m->sections[0].name) == 0)
m->sections[0].addr = entry->vm_start; // cheat...
return m;