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
Raw File
.hgignore
# .hgignore - List of filenames hg should ignore

# Filenames that should be ignored wherever they appear
~$
\.py(c|o)$
(?i)(^|/)TAGS$
(^|/)ID$
(^|/)\.DS_Store$
\.pdb
\.egg-info
\.gcda
\.gcno
\.gcov
compile_commands\.json

# Vim swap files.
^\.sw.$
.[^/]*\.sw.$

# Emacs directory variable files.
\.dir-locals\.el

# User files that may appear at the root
^\.mozconfig
^mozconfig*
^configure$
^old-configure$
^config\.cache$
^config\.log$
^\.clang_complete
^\.?machrc$

# Empty marker file that's generated when we check out NSS
^security/manager/\.nss\.checkout$

# Build directories
^obj

# gecko.log is generated by various test harnesses
^gecko\.log

# Ignore newtab component build assets
^browser/components/newtab/bin/prerender.js
^browser/components/newtab/bin/prerender.js.map
^browser/components/newtab/data/locales.json
^browser/components/newtab/logs/

# Build directories for js shell
_DBG\.OBJ/
_OPT\.OBJ/
^js/src/.*-obj/
^js/src/obj-.*/

# SpiderMonkey configury
^js/src/configure$
^js/src/old-configure$
^js/src/autom4te.cache$
# SpiderMonkey test result logs
^js/src/tests/results-.*\.(html|txt)$
^js/src/devtools/rootAnalysis/t/out
# SpiderMonkey clone of the webassembly spec repository
^js/src/wasm/spec

# Java HTML5 parser classes
^parser/html/java/(html|java)parser/

# SVN directories
\.svn/

# Ignore the files and directory that Eclipse IDE creates
\.project$
\.cproject$
\.settings/

# Ignore the files and directory that JetBrains IDEs create.
\.idea/
\.iml$
# Android Monitor in Android Studio creates a captures/ directory.
^captures/

# Gradle cache.
^.gradle/
^tools/infer/test/.gradle/

# Local Gradle configuration properties.
^local.properties$

# Python stuff installed at build time.
^third_party/python/psutil/.*\.so
^third_party/python/psutil/.*\.pyd
^third_party/python/psutil/build/
^third_party/python/psutil/tmp/

# Git repositories
.git/

# Ignore chrome.manifest files from the devtools loader
^devtools/client/chrome.manifest$
^devtools/shared/chrome.manifest$

# Ignore node_modules directories in devtools
^devtools/.*/node_modules/

# git checkout of libstagefright
^media/libstagefright/android$

# Tag files generated by GNU Global
(^|/)GTAGS$
(^|/)GRTAGS$
(^|/)GSYMS$
(^|/)GPATH$

# Git clone directory for updating web-platform-tests
^testing/web-platform/sync/

# Third party metadata for web-platform-tests
^testing/web-platform/products/

# Android Gradle artifacts.
^mobile/android/gradle/.gradle

# XCode project cruft
^[^/]*\.xcodeproj/

# Rust/Cargo output from running `cargo` directly
^target/

# Ignore mozharness execution files
^testing/mozharness/.tox/
^testing/mozharness/build/
^testing/mozharness/logs/
^testing/mozharness/.coverage
^testing/mozharness/nosetests.xml

# Ignore tox generated dir
.tox/

# Ignore ESLint and other tool's node_modules.
^node_modules/
^tools/browsertime/node_modules/
^tools/lint/eslint/eslint-plugin-mozilla/node_modules/

# Ignore talos virtualenv and tp5n files.
# The tp5n set is supposed to be decompressed at
# testing/talos/talos/tests/tp5n in order to run tests like tps
# locally. Similarly, running talos requires a Python package virtual
# environment. Both the virtual environment and tp5n files end up littering
# the status command, so we ignore them.
^testing/talos/.Python
^testing/talos/bin/
^testing/talos/include/
^testing/talos/lib/
^testing/talos/talos/tests/tp5n.zip
^testing/talos/talos/tests/tp5n.tar.gz
^testing/talos/talos/tests/tp5n
^testing/talos/talos/tests/devtools/damp.manifest.develop
^talos-venv
^py3venv
^testing/talos/talos/mitmproxy/mitmdump
^testing/talos/talos/mitmproxy/mitmproxy
^testing/talos/talos/mitmproxy/mitmweb

# Ignore talos webkit benchmark files; source is copied from in-tree /third_party
# into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
# i.e. speedometer, motionmark, stylebench
^testing/talos/talos/tests/webkit/PerformanceTests

# Ignore toolchains.json created by tooltool.
^toolchains\.json

# Ignore files created when running a reftest.
^lextab.py$

# tup database
^\.tup

# Ignore sync tps logs and reports
tps\.log
tps_result\.json

# Ignore Visual Studio Code workspace files.
\.vscode/(?!extensions\.json|tasks\.json)

# Ignore Infer output
^infer-out/

# https://bz.mercurial-scm.org/show_bug.cgi?id=5322
^comm/

# Ignore various raptor performance framework files
^testing/raptor/.raptor-venv
^testing/raptor/raptor-venv
^testing/raptor/raptor/tests/.*.json
^testing/raptor/webext/raptor/auto_gen_test_config.js

# Ignore the build directories of WebRender standalone builds.
gfx/wr/target/
back to top