Merge pull request #91 from bcantrill/master
issue #90: changing DTrace switchrate broke -p
This commit is contained in:
commit
07c14fc8d0
1 changed files with 2 additions and 2 deletions
|
@ -1119,8 +1119,8 @@ function processPids(opts, stylize, callback) {
|
||||||
opts.level);
|
opts.level);
|
||||||
return drainStdoutAndExit(1);
|
return drainStdoutAndExit(1);
|
||||||
}).join(',');
|
}).join(',');
|
||||||
var argv = ['dtrace', '-Z', '-x', 'strsize=4k', '-qn',
|
var argv = ['dtrace', '-Z', '-x', 'strsize=4k',
|
||||||
'-x', 'switchrate=10hz',
|
'-x', 'switchrate=10hz', '-qn',
|
||||||
format('%s{printf("%s", copyinstr(arg0))}', probes)];
|
format('%s{printf("%s", copyinstr(arg0))}', probes)];
|
||||||
//console.log('dtrace argv: %s', argv);
|
//console.log('dtrace argv: %s', argv);
|
||||||
var dtrace = spawn(argv[0], argv.slice(1),
|
var dtrace = spawn(argv[0], argv.slice(1),
|
||||||
|
|
Loading…
Reference in a new issue