Makes it clear this isn't one of the internal task_finder_vma functions.
* runtime/sym.c (_stp_sym_init): Call stap_initialize_vma_map.
* runtime/task_finder_vma.c (stap_initialize_vma_map): Renamed from
__stp_tf_vma_initialize.
};
if (! initialized) {
int rc;
- __stp_tf_vma_initialize();
+ stap_initialize_vma_map ();
rc = stap_register_task_finder_target (& vmcb);
#ifdef DEBUG_TASK_FINDER_VMA
_stp_dbug(__FUNCTION__, __LINE__, "registered vmcb");
static struct hlist_head __stp_tf_vma_map[__STP_TF_TABLE_SIZE];
-// __stp_tf_vma_initialize(): Initialize the free list. Grabs the
-// spinlock.
+// tap_initialize_vma_map): Initialize the free list. Grabs the
+// spinlock. Should be called before any of the other stap_*_vma_map
+// functions.
static void
-__stp_tf_vma_initialize(void)
+stap_initialize_vma_map(void)
{
int i;
struct hlist_head *head = &__stp_tf_vma_free_list[0];