summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
committerFrank Ch. Eigler <fche@elastic.org>2007-11-15 14:35:40 -0500
commit055e8b89db8f76f0ccc05d08acfe979ba50024d6 (patch)
tree5c51849d470c1ff74162fbeb6be56f190d524daf /main.cxx
parent3cf29fed2ae7b36527c95c93754a4c0b0e51e749 (diff)
parentf781f849ceedba83580eead82c3baf949a9738db (diff)
downloadsystemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.gz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.tar.xz
systemtap-steved-055e8b89db8f76f0ccc05d08acfe979ba50024d6.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx25
1 files changed, 6 insertions, 19 deletions
diff --git a/main.cxx b/main.cxx
index 97f089a8..1880436f 100644
--- a/main.cxx
+++ b/main.cxx
@@ -729,13 +729,12 @@ main (int argc, char * const argv [])
// See if we can use cached source/module.
if (get_from_cache(s))
{
- // If our last pass isn't 5, and we don't need to build
- // uprobes, we're done (since passes 3 and 4 just generate
- // what we just pulled out of the cache).
- if (s.last_pass < 4) goto cleanup;
+ // If our last pass isn't 5, we're done (since passes 3 and
+ // 4 just generate what we just pulled out of the cache).
+ if (s.last_pass < 5) goto cleanup;
- // Short-circuit to pass 4.5.
- goto pass_4point5;
+ // Short-circuit to pass 5.
+ goto pass_5;
}
}
@@ -812,20 +811,8 @@ main (int argc, char * const argv [])
}
}
- if (rc) goto cleanup;
+ if (rc || s.last_pass == 4) goto cleanup;
- // PASS 4.5: BUILD SYSTEMTAP'S VERSION OF UPROBES (IF NECESSARY)
-pass_4point5:
- if (s.need_uprobes)
- {
- if (s.last_pass == 5 && uprobes_enabled())
- // Uprobes symbols are currently available in the kernel,
- // so staprun won't use what we'd build anyway.
- goto pass_5;
-
- (void) make_uprobes(s);
- }
- if (s.last_pass == 4) goto cleanup;
// PASS 5: RUN
pass_5: