summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2008-12-15 17:51:49 +0100
committerMark Wielaard <mjw@redhat.com>2008-12-15 17:51:49 +0100
commit204038b16193de78eeb333fde0cce6081d9d1fcd (patch)
tree2c12a736ff63d012fe4f19940c19a289c1979f07 /tapsets.cxx
parent13d343c0c39e334cf11ee06cbc0f3ec01d440f41 (diff)
downloadsystemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.tar.gz
systemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.tar.xz
systemtap-steved-204038b16193de78eeb333fde0cce6081d9d1fcd.zip
Always include task_finder.c and enable emit_vm_callback_probe_decl.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 9fe1d236..fe4dad55 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -6578,7 +6578,6 @@ utrace_derived_probe_group::emit_module_decls (systemtap_session& s)
s.op->newline();
s.op->newline() << "/* ---- utrace probes ---- */";
- s.op->newline() << "#include \"task_finder.c\"";
s.op->newline() << "enum utrace_derived_probe_flags {";
s.op->indent(1);
@@ -6800,10 +6799,8 @@ utrace_derived_probe_group::emit_module_decls (systemtap_session& s)
// Emit a "fake" probe decl that is really a hook for to get
// our vm_callback called.
string path = it->first;
- s.op->newline() << "#ifdef STP_NEED_TASK_FINDER_VMA";
emit_vm_callback_probe_decl (s, true, path, (int64_t)0,
"__stp_tf_vm_cb");
- s.op->newline() << "#endif";
for (unsigned i = 0; i < it->second.size(); i++)
{
@@ -6821,10 +6818,8 @@ utrace_derived_probe_group::emit_module_decls (systemtap_session& s)
{
// Emit a "fake" probe decl that is really a hook for to get
// our vm_callback called.
- s.op->newline() << "#ifdef STP_NEED_TASK_FINDER_VMA";
emit_vm_callback_probe_decl (s, false, "", it->first,
"__stp_tf_vm_cb");
- s.op->newline() << "#endif";
for (unsigned i = 0; i < it->second.size(); i++)
{
@@ -7073,7 +7068,6 @@ uprobe_derived_probe_group::emit_module_decls (systemtap_session& s)
s.op->newline() << "#else";
s.op->newline() << "#include \"uprobes/uprobes.h\"";
s.op->newline() << "#endif";
- s.op->newline() << "#include \"task_finder.c\"";
s.op->newline() << "#ifndef MULTIPLE_UPROBES";
s.op->newline() << "#define MULTIPLE_UPROBES 256"; // maximum possible armed uprobes per process() probe point