Skip to content

Commit 668db54

Browse files
authored
Merge pull request #507 from mstange/push-slnmzpqpporw
Improve 'samply help' output.
2 parents 3c8a92e + 3c13698 commit 668db54

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

samply/src/main.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,21 @@ use windows::profiler;
4646
name = "samply",
4747
version,
4848
about = r#"
49-
samply is a sampling CPU profiler.
50-
Run a command, record a CPU profile of its execution, and open the profiler UI.
51-
Recording is currently supported on Linux and macOS.
52-
On other platforms, samply can only load existing profiles.
49+
samply is a sampling CPU profiler for Windows, macOS, and Linux.
50+
See "samply record --help" for additional information about the "samply record" command.
5351
5452
EXAMPLES:
55-
# Default usage:
53+
# Profile a freshly launched process:
5654
samply record ./yourcommand yourargs
5755
58-
# On Linux, you can also profile existing processes by pid:
59-
samply record -p 12345 # Linux only
56+
# Profile an existing process by pid:
57+
samply record -p 12345
6058
6159
# Alternative usage: Save profile to file for later viewing, and then load it.
6260
samply record --save-only -o prof.json -- ./yourcommand yourargs
6361
samply load prof.json # Opens in the browser and supplies symbols
6462
65-
# Import perf.data files from Linux perf:
63+
# Import perf.data files from Linux perf or Android simpleperf:
6664
samply import perf.data
6765
"#
6866
)]

0 commit comments

Comments
 (0)