Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "LTTng-UST: Error (-17) while registering..." error when debuggin…
…g (20874) Fixes issue dotnet/coreclr#20205. This has been happening in more and more scenarios: 1) SOS when the coreclr hosting the SOS managed code is a different version that the one being debugged 2) Lee ran into it with ClrMD for Linux 3) The dotnet-diagnostictests repo with the current arcade build changes because the coreclr version hosting mdbg is different than the version running the debuggees. This fix is simple: only link the tracepointprovider.cpp code that loads libcoreclrtraceptprovider.so into libcoreclr.so and not in any other module that uses the PAL library (libdbgshim.so, libmscordaccore.so, etc.). Create a new "tracepointprovider" library with the tracepointprovider.cpp source file in it and remove it from the "coreclrpal". Link this new lib into libcoreclr.so. Commit migrated from dotnet/coreclr@c60869f
- Loading branch information