Skip to content

Commit

Permalink
Identify the V8 Proxy Resolver utility process
Browse files Browse the repository at this point in the history
The V8 Proxy Resolver utility process has --type=utility and then later
on its command line --type=renderer. Due to the greediness of the final
.* the second one was winning, when apparently I want the first one to
win.
  • Loading branch information
randomascii committed Apr 26, 2017
1 parent 9542e92 commit ca03153
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/IdentifyChromeProcesses.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ def main():
pidsRe = re.compile(r".*\(([\d ]*)\), *(\d*),.*")
# Find the space-terminated word after 'type='. This used to require that it
# be the first command-line option, but that is likely to not always be true.
processTypeRe = re.compile(r".* --type=([^ ]*) .*")
# Mark the first .* as lazy/ungreedy/reluctant so that if there are multiple
# --type options (such as with the V8 Proxy Resolver utility process) the
# first one will win.
processTypeRe = re.compile(r".*? --type=([^ ]*) .*")

#-tle = tolerate lost events
#-tti = tolerate time ivnersions
Expand Down

0 comments on commit ca03153

Please sign in to comment.