diff options
author | Victor "Nate" Graf <nategraf1@gmail.com> | 2017-09-18 16:36:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 16:36:50 -0700 |
commit | fcee6499c632785c1f9692c98f9b8e180b10d3b6 (patch) | |
tree | 016529833228fa898543b594a10f6fb9eea90463 /src/scripts | |
parent | 00f316a9194904ca567f6006febb4aa7eac49aa6 (diff) | |
download | coreclr-fcee6499c632785c1f9692c98f9b8e180b10d3b6.tar.gz coreclr-fcee6499c632785c1f9692c98f9b8e180b10d3b6.tar.bz2 coreclr-fcee6499c632785c1f9692c98f9b8e180b10d3b6.zip |
Use the calculated size (offset) instead of estimated (size) (#14049)
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/genEventPipe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/genEventPipe.py b/src/scripts/genEventPipe.py index 3caa2071fc..8a970794c0 100644 --- a/src/scripts/genEventPipe.py +++ b/src/scripts/genEventPipe.py @@ -198,7 +198,7 @@ def generateWriteEventBody(template, providerName, eventName): }\n\n""" body = " EventPipe::WriteEvent(*EventPipeEvent" + \ - eventName + ", (BYTE *)buffer, size);\n" + eventName + ", (BYTE *)buffer, offset);\n" footer = """ if (!fixedBuffer) |