summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorWolfgang Ziegler <wziegler@live.at>2017-10-12 19:08:13 +0200
committerJan Kotas <jkotas@microsoft.com>2017-10-12 10:08:13 -0700
commit24e269058d247f9c5b7ac3f6a0401ee73e48acec (patch)
tree3834b50de0ca5b3b03212268e94e8812e6b80847 /Documentation
parent1fb8280e051ca2df506bb61a56ff679477a1c57e (diff)
downloadcoreclr-24e269058d247f9c5b7ac3f6a0401ee73e48acec.tar.gz
coreclr-24e269058d247f9c5b7ac3f6a0401ee73e48acec.tar.bz2
coreclr-24e269058d247f9c5b7ac3f6a0401ee73e48acec.zip
Fixed typo (#14449)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/botr/profiling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/botr/profiling.md b/Documentation/botr/profiling.md
index e3dbd2bee5..234ac75573 100644
--- a/Documentation/botr/profiling.md
+++ b/Documentation/botr/profiling.md
@@ -71,7 +71,7 @@ The picture so far describes what happens once the application and profiler are
- Cor\_Enable\_Profiling - only connect with a profiler if this environment variable exists and is set to a non-zero value.
- Cor\_Profiler - connect with the profiler with this CLSID or ProgID (which must have been stored previously in the Registry). The Cor\_Profiler environment variable is defined as a string:
- set Cor\_Profiler={32E2F4DA-1BEA-47ea-88F9-C5DAF691C94A}, or
- - set Cor\_Proflier="MyProfiler"
+ - set Cor\_Profiler="MyProfiler"
- The profiler class is the one that implements _ICorProfilerCallback/ICorProfilerCallback2_. It is required that a profiler implement ICorProfilerCallback2; if it does not, it will not be loaded.
When both checks above pass, the CLR creates an instance of the profiler in a similar fashion to _CoCreateInstance_. The profiler is not loaded through a direct call to _CoCreateInstance_ so that a call to _CoInitialize_ may be avoided, which requires setting the threading model. It then calls the _ICorProfilerCallback::Initialize_ method in the profiler. The signature of this method is: