Skip to content

Commit

Permalink
show dotne and lttng versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Nov 7, 2024
1 parent 6e382cd commit 0175141
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion scripts/prepare-machine.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,14 @@ function Install-Dotnet {
}

function Install-Clog2Text {
Install-Dotnet
# Install-Dotnet

Write-Host "Initializing clog submodule"
git submodule init $RootDir/submodules/clog
git submodule update

dotnet --version

dotnet build (Join-Path $RootDir submodules clog)
$NuGetPath = Join-Path $RootDir "submodules" "clog" "src" "nupkg"
Install-DotnetTool -ToolName "Microsoft.Logging.CLOG2Text.Lttng" -Version "0.0.1" -NuGetPath $NuGetPath
Expand Down Expand Up @@ -584,6 +586,9 @@ if ($IsLinux) {
sudo apt-get install -y lttng-tools
sudo apt-get install -y liblttng-ust-dev
sudo apt-get install -y gdb

lttng --version
lttng-sessiond --version
if ($UseXdp) {
if (!$IsUbuntu2404) {
sudo apt-add-repository "deb http://mirrors.kernel.org/ubuntu noble main" -y
Expand Down
4 changes: 1 addition & 3 deletions scripts/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,7 @@ for ($iteration = 1; $iteration -le $NumIterations; $iteration++) {
$NOFILE = Invoke-Expression "bash -c 'ulimit -n'"
Invoke-Expression ('/usr/bin/sudo bash -c "ulimit -n $NOFILE && pwsh $RunTest -Path $TestPath $TestArguments"')
} else {
$NOFILE = Invoke-Expression "bash -c 'ulimit -n'"
Invoke-Expression ('/usr/bin/sudo bash -c "ulimit -n $NOFILE && pwsh $RunTest -Path $TestPath $TestArguments"')
# Invoke-Expression ($RunTest + " -Path $TestPath " + $TestArguments)
Invoke-Expression ($RunTest + " -Path $TestPath " + $TestArguments)
}
}
}
Expand Down

0 comments on commit 0175141

Please sign in to comment.