Bug 1066680 (follow-up) - Unbreak |mach dmd|. r=me.
This commit is contained in:
@@ -934,14 +934,16 @@ class RunDmd(MachCommandBase):
|
|||||||
help='Do not pass the -no-remote argument by default.')
|
help='Do not pass the -no-remote argument by default.')
|
||||||
@CommandArgument('--background', '-b', action='store_true',
|
@CommandArgument('--background', '-b', action='store_true',
|
||||||
help='Do not pass the -foreground argument by default on Mac')
|
help='Do not pass the -foreground argument by default on Mac')
|
||||||
|
@CommandArgument('--noprofile', '-n', action='store_true',
|
||||||
|
help='Do not pass the -profile argument by default.')
|
||||||
@CommandArgument('--sample-below', default=None, type=str,
|
@CommandArgument('--sample-below', default=None, type=str,
|
||||||
help='The sample size to use, [1..n]. Default is 4093.')
|
help='The sample size to use, [1..n]. Default is 4093.')
|
||||||
@CommandArgument('--max-frames', default=None, type=str,
|
@CommandArgument('--max-frames', default=None, type=str,
|
||||||
help='The max number of stack frames to capture in allocation traces, [1..24] Default is 24.')
|
help='The max number of stack frames to capture in allocation traces, [1..24] Default is 24.')
|
||||||
@CommandArgument('--show-dump-stats', action='store_true',
|
@CommandArgument('--show-dump-stats', action='store_true',
|
||||||
help='Show stats when doing dumps.')
|
help='Show stats when doing dumps.')
|
||||||
def dmd(self, params, remote, background, sample_below, max_frames, show_dump_stats):
|
def dmd(self, params, remote, background, noprofile, sample_below, max_frames, show_dump_stats):
|
||||||
args = get_run_args(self, params, remote, background)
|
args = get_run_args(self, params, remote, background, noprofile)
|
||||||
if not args:
|
if not args:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user