]> sourceware.org Git - systemtap.git/commitdiff
Rename __stp_tf_vma_initialize to stap_initialize_vma_map.
authorMark Wielaard <mjw@redhat.com>
Fri, 4 Jun 2010 13:06:46 +0000 (15:06 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 7 Jun 2010 09:44:19 +0000 (11:44 +0200)
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.

runtime/sym.c
runtime/task_finder_vma.c

index e1e6e22509e632468ed9e5a2e368f1c033f82f0c..242f35022300b668031449775d2e088837257c39 100644 (file)
@@ -501,7 +501,7 @@ static void _stp_sym_init(void)
         };
        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");
index 3388c0565fa1279faad4464920e9b984bab3b06a..e5c30da6b249f8fbd8c6648e7041c63acf48be16 100644 (file)
@@ -43,10 +43,11 @@ static struct hlist_head __stp_tf_vma_free_list[1];
 
 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];
This page took 0.030715 seconds and 5 git commands to generate.