mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1066680 (follow-up) - Unbreak |mach dmd|. r=me.
--HG-- extra : rebase_source : 3cfb38ea47653551c596487e3c51994797a1c733
This commit is contained in:
parent
bcf77f44d1
commit
3ae34e7b6b
@ -934,14 +934,16 @@ class RunDmd(MachCommandBase):
|
||||
help='Do not pass the -no-remote argument by default.')
|
||||
@CommandArgument('--background', '-b', action='store_true',
|
||||
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,
|
||||
help='The sample size to use, [1..n]. Default is 4093.')
|
||||
@CommandArgument('--max-frames', default=None, type=str,
|
||||
help='The max number of stack frames to capture in allocation traces, [1..24] Default is 24.')
|
||||
@CommandArgument('--show-dump-stats', action='store_true',
|
||||
help='Show stats when doing dumps.')
|
||||
def dmd(self, params, remote, background, sample_below, max_frames, show_dump_stats):
|
||||
args = get_run_args(self, params, remote, background)
|
||||
def dmd(self, params, remote, background, noprofile, sample_below, max_frames, show_dump_stats):
|
||||
args = get_run_args(self, params, remote, background, noprofile)
|
||||
if not args:
|
||||
return 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user