diff options
author | Jim Keniston <jkenisto@us.ibm.com> | 2008-11-03 14:47:12 -0800 |
---|---|---|
committer | Jim Keniston <jkenisto@us.ibm.com> | 2008-11-03 14:47:12 -0800 |
commit | 904b272c43bf358300719d01836bcd10c04aa356 (patch) | |
tree | c6fdb97c5643780ad37001a421080ff30ec76a5b /buildrun.cxx | |
parent | b8aa3fa820c059f0f8abb4025f464d90d1f9cb9e (diff) | |
download | systemtap-steved-904b272c43bf358300719d01836bcd10c04aa356.tar.gz systemtap-steved-904b272c43bf358300719d01836bcd10c04aa356.tar.xz systemtap-steved-904b272c43bf358300719d01836bcd10c04aa356.zip |
Add a version of uprobes that works with the 2.6.27 version of utrace.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r-- | buildrun.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildrun.cxx b/buildrun.cxx index 5f31303b..c23a4747 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -253,12 +253,12 @@ uprobes_pass (systemtap_session& s) * stap must fail. */ int rc; - if (geteuid() == 0) { + if (geteuid() == 0) rc = make_uprobes(s); - if (rc == 0) - rc = copy_uprobes_symbols(s); - } else + else rc = verify_uprobes_uptodate(s); + if (rc == 0) + rc = copy_uprobes_symbols(s); return rc; } |