// Declare that task_finder is needed in this session
void enable_task_finder(systemtap_session& s);
-// Helper function to emit vma tracker callbacks.
-void emit_vma_callback_probe_decl (systemtap_session& s, std::string path, int64_t pid);
+// Declare that vma tracker is needed in this session,
+// implies that the task_finder is needed.
+void enable_vma_tracker(systemtap_session& s);
+
+// Whether the vma tracker is needed in this session.
+bool vma_tracker_enabled(systemtap_session& s);
#endif // TASK_FINDER_H