From 8d1a245e484cdac468d84fb823ba5b4cec3c27ba Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sun, 21 Jun 2009 17:30:44 +0000 Subject: bcfg2-info: add complete profiling support Build uniform profiling support for both core startup and individual commands. Also ensure that single shot commands (from argv) work properly. Core profiling (for startup) can be enabled with -p, and individual commands can be profiled by prefixing the profile command, a la: > profile build ubik3 /tmp/ubik3.xml git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5290 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Options.py') diff --git a/src/lib/Options.py b/src/lib/Options.py index c916b96fe..a18661637 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -242,7 +242,7 @@ CLIENT_EXTRA_DISPLAY = Option('enable extra entry output', default=False, cmd='-e', ) CLIENT_PARANOID = Option('make automatic backups of config files', default=False, cmd='-P', ) -CORE_PROFILE = Option('profile server core', odesc='', +CORE_PROFILE = Option('profile', default=False, cmd='-p', ) CLIENT_DRIVERS = Option('Specify tool driver set', cmd='-D', cf=('client', 'drivers'), -- cgit v1.2.3-1-g7c22