Skip to content

Commit e9b0aa8

Browse files
committed
Improve preview banner message
1 parent 119f101 commit e9b0aa8

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/Tools/dotnet-trace/CommandLine/Commands/CollectLinuxCommand.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ internal int CollectLinux(CollectLinuxArgs args)
5252
}
5353

5454
Console.WriteLine("==========================================================================================");
55-
Console.WriteLine("The collect-linux verb is in preview. Some usage scenarios may not yet be supported,");
56-
Console.WriteLine("and some trace parsers may not yet support NetTrace V6. For any bugs or unexpected");
57-
Console.WriteLine("behaviors, please open an issue at https://github.com/dotnet/diagnostics/issues.");
55+
Console.WriteLine("The collect-linux verb is a new preview feature and relies on an updated version of the");
56+
Console.WriteLine(".nettrace file format. The latest PerfView release supports these trace files but other");
57+
Console.WriteLine("ways of using the trace file may not work yet. For more details, see the docs at");
58+
Console.WriteLine("https://learn.microsoft.com/dotnet/core/diagnostics/dotnet-trace.");
5859
Console.WriteLine("==========================================================================================");
5960

6061
args.Ct.Register(() => stopTracing = true);

src/tests/dotnet-trace/CollectLinuxCommandFunctionalTests.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,10 @@ private static string[] FormatException(string message)
252252
];
253253
private static string[] PreviewMessages = [
254254
"==========================================================================================",
255-
"The collect-linux verb is in preview. Some usage scenarios may not yet be supported,",
256-
"and some trace parsers may not yet support NetTrace V6. For any bugs or unexpected",
257-
"behaviors, please open an issue at https://github.com/dotnet/diagnostics/issues.",
255+
"The collect-linux verb is a new preview feature and relies on an updated version of the",
256+
".nettrace file format. The latest PerfView release supports these trace files but other",
257+
"ways of using the trace file may not work yet. For more details, see the docs at",
258+
"https://learn.microsoft.com/dotnet/core/diagnostics/dotnet-trace.",
258259
"=========================================================================================="
259260
];
260261

0 commit comments

Comments
 (0)