Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 775 '-g': ['stateFilter', TickProcessor.VmStates.GC, | 775 '-g': ['stateFilter', TickProcessor.VmStates.GC, |
| 776 'Show only ticks from GC VM state'], | 776 'Show only ticks from GC VM state'], |
| 777 '-c': ['stateFilter', TickProcessor.VmStates.COMPILER, | 777 '-c': ['stateFilter', TickProcessor.VmStates.COMPILER, |
| 778 'Show only ticks from COMPILER VM state'], | 778 'Show only ticks from COMPILER VM state'], |
| 779 '-o': ['stateFilter', TickProcessor.VmStates.OTHER, | 779 '-o': ['stateFilter', TickProcessor.VmStates.OTHER, |
| 780 'Show only ticks from OTHER VM state'], | 780 'Show only ticks from OTHER VM state'], |
| 781 '-e': ['stateFilter', TickProcessor.VmStates.EXTERNAL, | 781 '-e': ['stateFilter', TickProcessor.VmStates.EXTERNAL, |
| 782 'Show only ticks from EXTERNAL VM state'], | 782 'Show only ticks from EXTERNAL VM state'], |
| 783 '--call-graph-size': ['callGraphSize', TickProcessor.CALL_GRAPH_SIZE, | 783 '--call-graph-size': ['callGraphSize', TickProcessor.CALL_GRAPH_SIZE, |
| 784 'Set the call graph size'], | 784 'Set the call graph size'], |
| 785 '--dump-cpp-symbols': ['dumpCppSymbols', true, | |
|
fmeawad
2016/04/19 12:52:25
I think you should remove that flag.
lpy
2016/04/19 21:02:20
Done.
| |
| 786 'Dump C++ symbols'], | |
| 785 '--ignore-unknown': ['ignoreUnknown', true, | 787 '--ignore-unknown': ['ignoreUnknown', true, |
| 786 'Exclude ticks of unknown code entries from processing'], | 788 'Exclude ticks of unknown code entries from processing'], |
| 787 '--separate-ic': ['separateIc', true, | 789 '--separate-ic': ['separateIc', true, |
| 788 'Separate IC entries'], | 790 'Separate IC entries'], |
| 789 '--unix': ['platform', 'unix', | 791 '--unix': ['platform', 'unix', |
| 790 'Specify that we are running on *nix platform'], | 792 'Specify that we are running on *nix platform'], |
| 791 '--windows': ['platform', 'windows', | 793 '--windows': ['platform', 'windows', |
| 792 'Specify that we are running on Windows platform'], | 794 'Specify that we are running on Windows platform'], |
| 793 '--mac': ['platform', 'mac', | 795 '--mac': ['platform', 'mac', |
| 794 'Specify that we are running on Mac OS X platform'], | 796 'Specify that we are running on Mac OS X platform'], |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 816 this.argsDispatch_['--external'] = this.argsDispatch_['-e']; | 818 this.argsDispatch_['--external'] = this.argsDispatch_['-e']; |
| 817 this.argsDispatch_['--ptr'] = this.argsDispatch_['--pairwise-timed-range']; | 819 this.argsDispatch_['--ptr'] = this.argsDispatch_['--pairwise-timed-range']; |
| 818 }; | 820 }; |
| 819 | 821 |
| 820 | 822 |
| 821 ArgumentsProcessor.DEFAULTS = { | 823 ArgumentsProcessor.DEFAULTS = { |
| 822 logFileName: 'v8.log', | 824 logFileName: 'v8.log', |
| 823 platform: 'unix', | 825 platform: 'unix', |
| 824 stateFilter: null, | 826 stateFilter: null, |
| 825 callGraphSize: 5, | 827 callGraphSize: 5, |
| 828 dumpCppSymbols: false, | |
|
fmeawad
2016/04/19 12:52:25
ditto
lpy
2016/04/19 21:02:20
Done.
| |
| 826 ignoreUnknown: false, | 829 ignoreUnknown: false, |
| 827 separateIc: false, | 830 separateIc: false, |
| 828 targetRootFS: '', | 831 targetRootFS: '', |
| 829 nm: 'nm', | 832 nm: 'nm', |
| 830 range: 'auto,auto', | 833 range: 'auto,auto', |
| 831 distortion: 0, | 834 distortion: 0, |
| 832 timedRange: false, | 835 timedRange: false, |
| 833 pairwiseTimedRange: false, | 836 pairwiseTimedRange: false, |
| 834 onlySummary: false | 837 onlySummary: false |
| 835 }; | 838 }; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 884 for (var synArg in this.argsDispatch_) { | 887 for (var synArg in this.argsDispatch_) { |
| 885 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { | 888 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { |
| 886 synonyms.push(synArg); | 889 synonyms.push(synArg); |
| 887 delete this.argsDispatch_[synArg]; | 890 delete this.argsDispatch_[synArg]; |
| 888 } | 891 } |
| 889 } | 892 } |
| 890 print(' ' + padRight(synonyms.join(', '), 20) + " " + dispatch[2]); | 893 print(' ' + padRight(synonyms.join(', '), 20) + " " + dispatch[2]); |
| 891 } | 894 } |
| 892 quit(2); | 895 quit(2); |
| 893 }; | 896 }; |
| OLD | NEW |