From 904b272c43bf358300719d01836bcd10c04aa356 Mon Sep 17 00:00:00 2001 From: Jim Keniston Date: Mon, 3 Nov 2008 14:47:12 -0800 Subject: Add a version of uprobes that works with the 2.6.27 version of utrace. --- buildrun.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'buildrun.cxx') 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; } -- cgit