summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorVictor "Nate" Graf <nategraf1@gmail.com>2017-08-24 15:13:49 -0700
committerGitHub <noreply@github.com>2017-08-24 15:13:49 -0700
commit421f9e7c64b05c71db6ef71791998c06249953f6 (patch)
tree3d416f3d85b892ff1b7c006de1453b1b5498bd2d /src/scripts
parent970c41b10cca6f0f4bc6c6524c6733ac2c5011ba (diff)
downloadcoreclr-421f9e7c64b05c71db6ef71791998c06249953f6.tar.gz
coreclr-421f9e7c64b05c71db6ef71791998c06249953f6.tar.bz2
coreclr-421f9e7c64b05c71db6ef71791998c06249953f6.zip
Remove unnecessary buffer copy from EventPipe::WriteEvent pipeline (#13347)
* [WIP] Eliminate extra buffer copy with new api path * Copy blobs to a flat buffer is Rundown is on * Refactor to use payload class and dedupe code * Add contracts * Fix many small errors * Make names unambiguous * Add EventPipe::WriteEventBlob to ecalllist.h * Address code review * Add test and fix a buffer copy bug * Copy data instead of data pointer * Add optional output file arg to tests * Change failure return code * Renamed variables for clarity
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/genEventPipe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/genEventPipe.py b/src/scripts/genEventPipe.py
index 4c802acaf3..d5785d2799 100644
--- a/src/scripts/genEventPipe.py
+++ b/src/scripts/genEventPipe.py
@@ -110,7 +110,7 @@ def generateClrEventPipeWriteEventsImpl(
WriteEventImpl.append(
" EventPipe::WriteEvent(*EventPipeEvent" +
eventName +
- ", nullptr, 0);\n")
+ ", (BYTE*) nullptr, 0);\n")
WriteEventImpl.append("\n return ERROR_SUCCESS;\n}\n\n")