Remove unnecessary buffer copy from EventPipe::WriteEvent pipeline (dotnet/coreclr#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 Commit migrated from https://github.com/dotnet/coreclr/commit/421f9e7c64b05c71db6ef71791998c06249953f6
Showing
想要评论请 注册 或 登录