summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-08 23:35:21 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-08 23:38:40 +0200
commit8c39e6ee099a479b3f8e25bad1272085369970a9 (patch)
tree85979e3703642b27553302884127c1756b4943e1 /runtime/sym.c
parent9b11ea1ccc742f6a594be6a9777e618bdcbfebed (diff)
downloadsystemtap-steved-8c39e6ee099a479b3f8e25bad1272085369970a9.tar.gz
systemtap-steved-8c39e6ee099a479b3f8e25bad1272085369970a9.tar.xz
systemtap-steved-8c39e6ee099a479b3f8e25bad1272085369970a9.zip
Make sure code using the vma tracker compiles again.
* runtime/runtime.h: Include task_finder.c. * runtime/sym.c: Always define task_finder callbacks for usage in tapsets. * runtime/task_finder.c: Define dummy stap_task_finder_target when ! defined(CONFIG_UTRACE). * tapsets.cxx: Never include task_finder.c directly.
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 8de01bc8..a2cdd0ff 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -30,7 +30,6 @@ static void _stp_sym_init(void)
}
}
-#ifdef STP_NEED_VMA_TRACKER
/* Callback that needs to be registered (in tapsets.cxx for
emit_module_init) for every user task path or pid for which we
might need symbols or unwind info. */
@@ -77,7 +76,6 @@ static int _stp_tf_munmap_cb(struct stap_task_finder_target *tgt,
stap_remove_vma_map_info(tsk->group_leader, addr, addr + length, 0);
return 0;
}
-#endif
/* XXX: this needs to be address-space-specific. */
static unsigned long _stp_module_relocate(const char *module, const char *section, unsigned long offset)