File tree 1 file changed +6
-8
lines changed 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -46,23 +46,21 @@ use windows::profiler;
46
46
name = "samply" ,
47
47
version,
48
48
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.
53
51
54
52
EXAMPLES:
55
- # Default usage :
53
+ # Profile a freshly launched process :
56
54
samply record ./yourcommand yourargs
57
55
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
60
58
61
59
# Alternative usage: Save profile to file for later viewing, and then load it.
62
60
samply record --save-only -o prof.json -- ./yourcommand yourargs
63
61
samply load prof.json # Opens in the browser and supplies symbols
64
62
65
- # Import perf.data files from Linux perf:
63
+ # Import perf.data files from Linux perf or Android simpleperf :
66
64
samply import perf.data
67
65
"#
68
66
) ]
You can’t perform that action at this time.
0 commit comments