DescriptionAdding shutdown tracing capabilities
use "--trace-shutdown" to enable the feature to start profiling when the user has pressed "shutdown" and specify "--trace-shutdown-file=<name>" to specify the file where you want to dump to. Additionally you can specify which modules to trace with e.g. "--trace-shutdown=base,net".
That said: NOTE that the dumping will cost time since it has to be done after the shutdown of Chrome is finished. As such it takes time and will make it impossible to get a correct reading of time from shutdown till a new startup is finished.
Note: This is similar to the trace-startup - with the exception that upon shutdown it is not possible to rely on threads for IO anymore.
BUG=281524
TEST=visual tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221631
Patch Set 1 #
Total comments: 22
Patch Set 2 : Started the profiling in AttemptUserExit instead of BrowserMainRunner::Shutdown. #
Total comments: 8
Patch Set 3 : Addressed #Patch Set 4 : Fixing windows build problems #Patch Set 5 : Moved the trace starting for OS'ses other then ChromeOS to a later point where is no user intervent… #
Total comments: 12
Patch Set 6 : Addressed. Most of it. #
Total comments: 4
Patch Set 7 : Addressed #Patch Set 8 : Ha! git CL upload uploaded even nothing has changed... Addressed. #
Total comments: 20
Patch Set 9 : Addressed #
Total comments: 8
Patch Set 10 : Addressed #
Messages
Total messages: 25 (0 generated)
|