Skip to content

Commit

Permalink
Identify Chrome extension processes
Browse files Browse the repository at this point in the history
Chrome extension processes are renderer processes, but it is useful to
break them out into their own category, to better see the impact that
they have on Chrome. A typical report from IdentifyChromeProcesses.py
now looks like this:

Chrome PIDs by process type:
c:\bin\chrome.exe (4976)
    browser     : 4976
    crashpad-handler : 8568
    extension   : 464 2964 3068 4808 6720 7004 8108 9084
    gpu-process : 6184
    renderer    : 2676 5624
    watcher     : 8840
  • Loading branch information
randomascii committed Apr 24, 2017
1 parent 3ef4a88 commit a4c401e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/IdentifyChromeProcesses.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def main():
match = processTypeRe.match(commandLine)
if match:
type = match.groups()[0]
if commandLine.count(" --extension-process ") > 0:
type = "extension"
browserPid = parentPid
else:
type = "browser"
Expand Down

0 comments on commit a4c401e

Please sign in to comment.