Index: client/profilers/oprofile/oprofile.py |
diff --git a/client/profilers/oprofile/oprofile.py b/client/profilers/oprofile/oprofile.py |
index 379e07e74624f2d5a972ef8ca78db63ccc30b28d..2d03e317d93c7eff3c7eb8d50ee1a28f5ab23360 100644 |
--- a/client/profilers/oprofile/oprofile.py |
+++ b/client/profilers/oprofile/oprofile.py |
@@ -40,10 +40,10 @@ class oprofile(profiler.profiler): |
patch = os.path.join(self.bindir,"oprofile-69455.patch") |
utils.system('patch -p1 < %s' % patch) |
- utils.system('./configure --with-kernel-support --prefix=' + \ |
+ utils.configure('--with-kernel-support --prefix=' + \ |
self.srcdir) |
- utils.system('make -j %d' % utils.count_cpus()) |
- utils.system('make install') |
+ utils.make('-j %d' % utils.count_cpus()) |
+ utils.make('install') |
except: |
# Build from source failed. |
# But maybe can still use the local copy |