Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coreclr/tools/dotnet-pgo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ private int InnerProcessTraceFileMain()
{
bool hasPid = IsSet(_command.Pid);
string processName = Get(_command.ProcessName);
if (hasPid && processName == null && traceLog.Processes.Count != 1)
if (!hasPid && processName == null && traceLog.Processes.Count != 1)
{
PrintError("Trace file contains multiple processes to distinguish between");
PrintOutput("Either a pid or process name from the following list must be specified");
Expand Down
Loading