All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 5fe6144a authored by David Johnson's avatar David Johnson

Add a lame way to run the controller under valgrind.

parent a0e16d50
Pipeline #1331 skipped
......@@ -12,6 +12,7 @@
mul: CommandFilter, /opt/tcloud/mul/bin/mul, root
mulcli: CommandFilter, /opt/tcloud/mul/bin/mulcli, root
capnet-controller: CommandFilter, /opt/tcloud/capnet/bin/capnet-controller, root
valgrind: CommandFilter, /usr/bin/valgrind, root
# capnet agent uses kill as well, that's handled by the generic KillFilter
kill-mul: KillFilter, root, /opt/tcloud/mul/bin/mul, -9, -INT
......
......@@ -783,10 +783,14 @@ class CapnetControllerProcesses(object):
% (self.controller_path,self.physnet,self.name))
try: os.unlink(self.controller_pidfile)
except: pass
av = []
if self.controller_path == 'valgrind':
av = [ '/opt/tcloud/capnet/bin/capnet-controller' ]
else:
av = []
pass
if self.controller_args:
av = self.controller_args
av.extend(self.controller_args)
pass
av.extend(['-S','%s' % (self.rundir,)])
if self.multi_controller_mode:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment