summaryrefslogtreecommitdiffstats
path: root/task_finder.h
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-07 16:17:11 -0700
committerJosh Stone <jistone@redhat.com>2009-05-07 16:17:11 -0700
commit93646f4d5ccaa051cd996cc2ab6a2b4a21418714 (patch)
tree38a0ed4ae4871ec2574778dd812b5e388d548185 /task_finder.h
parentdd0e4fa70fd7589ff80618305bd3d24e98a5d73b (diff)
downloadsystemtap-steved-93646f4d5ccaa051cd996cc2ab6a2b4a21418714.tar.gz
systemtap-steved-93646f4d5ccaa051cd996cc2ab6a2b4a21418714.tar.xz
systemtap-steved-93646f4d5ccaa051cd996cc2ab6a2b4a21418714.zip
Separate task_finder and the itrace tapset
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 : */