Revision 229241a2c767c7f741b51f486502ec456c0ab329 authored by Bob Owen on 06 March 2020, 22:10:52 UTC, committed by Bob Owen on 06 March 2020, 22:10:52 UTC
When we are running from a network drive the new feature in part 1 doesn't work.
So this uses DuplicateHandle instead of OpenThread to get the thread handle used
by the profiler.
It also removes a DuplicateHandle THREAD_ALL_ACCESS call that also fails and a
DuplicateHandle to get a real process handle, which only seems to have been to
fix something on Windows XP.
The handle passed in is always the profiler one, so already has the necessary
permissions. If no thread handle is passed then the pseudo handle is used.
1 parent 40f9041
History
File Mode Size
.cargo
.vscode
accessible
browser
build
caps
chrome
config
db
devtools
docshell
dom
editor
extensions
gfx
gradle
hal
image
intl
ipc
js
layout
media
memory
mfbt
mobile
modules
mozglue
netwerk
nsprpub
other-licenses
parser
python
remote
security
services
servo
startupcache
storage
taskcluster
testing
third_party
toolkit
tools
uriloader
view
widget
xpcom
xpfe
.arcconfig -rw-r--r-- 143 bytes
.clang-format -rw-r--r-- 1.1 KB
.clang-format-ignore -rw-r--r-- 5.3 KB
.cron.yml -rw-r--r-- 5.4 KB
.eslintignore -rw-r--r-- 10.8 KB
.eslintrc.js -rw-r--r-- 10.9 KB
.flake8 -rw-r--r-- 3.3 KB
.gdbinit -rw-r--r-- 5.2 KB
.gdbinit_python -rw-r--r-- 80 bytes
.git-blame-ignore-revs -rw-r--r-- 6.0 KB
.gitignore -rw-r--r-- 3.4 KB
.hg-annotate-ignore-revs -rw-r--r-- 48.2 KB
.hg-format-source -rw-r--r-- 5.2 KB
.hgignore -rw-r--r-- 4.5 KB
.hgtags -rw-r--r-- 126.2 KB
.lldbinit -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 125 bytes
.prettierignore -rw-r--r-- 2.6 KB
.prettierrc -rw-r--r-- 66 bytes
.taskcluster.yml -rw-r--r-- 13.3 KB
.trackerignore -rw-r--r-- 0 bytes
.yamllint -rw-r--r-- 49 bytes
.ycm_extra_conf.py -rw-r--r-- 1.7 KB
AUTHORS -rw-r--r-- 125 bytes
CLOBBER -rw-r--r-- 1.0 KB
Cargo.lock -rw-r--r-- 177.4 KB
Cargo.toml -rw-r--r-- 2.3 KB
GNUmakefile -rw-r--r-- 261 bytes
LEGAL -rw-r--r-- 2.5 KB
LICENSE -rw-r--r-- 389 bytes
Makefile.in -rw-r--r-- 10.2 KB
README.txt -rw-r--r-- 1.2 KB
aclocal.m4 -rw-r--r-- 1.5 KB
build.gradle -rw-r--r-- 11.9 KB
client.mk -rw-r--r-- 3.8 KB
client.py -rwxr-xr-x 6.9 KB
configure.in -rw-r--r-- 1.1 KB
configure.py -rw-r--r-- 5.0 KB
gradle.properties -rw-r--r-- 77 bytes
gradlew -rwxr-xr-x 4.8 KB
gradlew.bat -rw-r--r-- 2.2 KB
mach -rwxr-xr-x 3.1 KB
moz.build -rw-r--r-- 3.5 KB
moz.configure -rwxr-xr-x 23.5 KB
mozilla-config.h.in -rwxr-xr-x 1.9 KB
old-configure.in -rw-r--r-- 107.9 KB
package-lock.json -rw-r--r-- 68.1 KB
package.json -rw-r--r-- 986 bytes
settings.gradle -rw-r--r-- 3.4 KB
test.mozbuild -rw-r--r-- 429 bytes

README.txt

back to top