-
-
Save agentzh/96b9c2c1d8fded2bd0f940cf331d757e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runtime/vma.c b/runtime/vma.c | |
index a14851b22..f0c8034e1 100644 | |
--- a/runtime/vma.c | |
+++ b/runtime/vma.c | |
@@ -290,7 +290,7 @@ static int _stp_vma_init(void) | |
/* Get rid of the vma tracker (memory). */ | |
static void _stp_vma_done(void) | |
{ | |
-#if defined(CONFIG_UTRACE) | |
+#ifdef HAVE_TASK_FINDER | |
stap_destroy_vma_map(); | |
#endif | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment