diff options
author | Brian Robbins <brianrob@microsoft.com> | 2018-03-21 13:31:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 13:31:04 -0700 |
commit | b82063e24b34c875891916a1bbc01728b9022bf3 (patch) | |
tree | 8af81814d735831c09ed7b354b0c1b00ff331783 /src/vm/corhost.cpp | |
parent | 166258a0b07246bb829695cebb1223b057339b49 (diff) | |
download | coreclr-b82063e24b34c875891916a1bbc01728b9022bf3.tar.gz coreclr-b82063e24b34c875891916a1bbc01728b9022bf3.tar.bz2 coreclr-b82063e24b34c875891916a1bbc01728b9022bf3.zip |
Add More Process Information to EventPipe Traces (#17080)
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r-- | src/vm/corhost.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp index 5b31c8aad5..2b67f19f2b 100644 --- a/src/vm/corhost.cpp +++ b/src/vm/corhost.cpp @@ -43,6 +43,7 @@ #endif // !FEATURE_PAL #include "stringarraylist.h" +#include "eventpipe.h" #ifdef FEATURE_COMINTEROP #include "winrttypenameconverter.h" @@ -368,6 +369,10 @@ void SetCommandLineArgs(LPCWSTR pwzAssemblyPath, int argc, LPCWSTR* argv) } CONTRACTL_END; + // Send the command line to EventPipe. + EventPipe::SaveCommandLine(pwzAssemblyPath, argc, argv); + + // Send the command line to System.Environment. struct _gc { PTRARRAYREF cmdLineArgs; |