summaryrefslogtreecommitdiffstats
path: root/task_finder.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-07 19:06:52 -0700
committerJosh Stone <jistone@redhat.com>2009-05-07 19:07:39 -0700
commit800bc674c524b1c58b550ed65fbcd10dffea470b (patch)
tree17013f184c94a77ca0d022911dac888cf2f71c00 /task_finder.h
parent8f65d588e2a2e58409bc52363b652eba9a963957 (diff)
parentb84779a5a4e19d2a4d8bbf9eabb96e43b2aecdee (diff)
downloadsystemtap-steved-800bc674c524b1c58b550ed65fbcd10dffea470b.tar.gz
systemtap-steved-800bc674c524b1c58b550ed65fbcd10dffea470b.tar.xz
systemtap-steved-800bc674c524b1c58b550ed65fbcd10dffea470b.zip
Merge branch 'tapsets-cleanup'
This merge splits some of the built-in tapsets into their own files, so we can better maintain clean interfaces. Still TODO are the dwarf- dependent tapsets though, because that's a much bigger mess to untangle.
Diffstat (limited to 'task_finder.h')
-rw-r--r--task_finder.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/task_finder.h b/task_finder.h
new file mode 100644
index 00000000..99419e32
--- /dev/null
+++ b/task_finder.h
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+// Copyright (C) 2009 Red Hat Inc.
+//
+// This file is part of systemtap, and is free software. You can
+// redistribute it and/or modify it under the terms of the GNU General
+// Public License (GPL); either version 2, or (at your option) any
+// later version.
+
+#ifndef TASK_FINDER_H
+#define TASK_FINDER_H
+
+// 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);
+
+#endif // TASK_FINDER_H
+
+/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */