Skip to content

Commit

Permalink
Add targeted instructions for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Nov 7, 2023
1 parent 4d0bb3d commit e8f386b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/internal/otel-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ the key projects dealing with profiling code.

Targeted building instructions:

Windows:

```Powershell
dir -r .\tracer\src\*.csproj | % { dotnet restore $_ }
Expand All @@ -26,3 +28,21 @@ dotnet build -c Release -f net6.0 .\tracer\test\test-applications\debugger\Sampl
dotnet test -c Release -f net6.0 --filter "AlwaysOnProfiler" .\tracer\test\Datadog.Trace.ClrProfiler.IntegrationTests\Datadog.Trace.ClrProfiler.IntegrationTests.csproj
```

Linux:

```bash
find ./tracer/src/ -name "*.csproj" | xargs -n 1 dotnet restore

./tracer/build.sh BuildTracerHome -Skip Restore

dotnet test -c Release -f net6.0 --filter "AlwaysOnProfiler" ./tracer/test/Datadog.Trace.Tests/Datadog.Trace.Tests.csproj

./tracer/build.sh PublishAlwaysOnProfilerNativeDepLinux

dotnet publish -c Release -f net6.0 ./tracer/test/test-applications/integrations/Samples.AlwaysOnProfiler/Samples.AlwaysOnProfiler.csproj

dotnet build -c Release -f net6.0 ./tracer/test/test-applications/debugger/Samples.Probes/Samples.Probes.csproj

dotnet test -c Release -f net6.0 --filter "AlwaysOnProfiler" ./tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/Datadog.Trace.ClrProfiler.IntegrationTests.csproj
```

0 comments on commit e8f386b

Please sign in to comment.