Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

[perfcollect] better way to download crossgen to resolve symbols #80

Open
jeremymeng opened this issue Jun 6, 2018 · 1 comment
Open

Comments

@jeremymeng
Copy link
Member

From @jeremymeng on June 5, 2018 22:35

Currently users have to manually download and patch their Linux system before running perfcollect script. It involves multiple steps as described at https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md#resolving-framework-symbols.

It would be great if a matching crossgen can be downloaded automatically before attempting to run crossgen.

Copied from original issue: dotnet/coreclr#18314

@AlonAm
Copy link

AlonAm commented Dec 13, 2020

As a workaround, I used the following commands to download and extract crossgen from the NuGet package

curl -OL https://www.nuget.org/api/v2/package/runtime.linux-x64.Microsoft.NETCore.Runtime.CoreCLR/2.0.8
unzip -j 2.0.8 tools/crossgen
cp crossgen /usr/share/dotnet/shared/Microsoft.NETCore.App/2.1.21

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants