Skip to content

Commit 79a3bba

Browse files
committed
Fix up some messages about sampling wiki links
Signed-off-by: Tudor Brindus <[email protected]>
1 parent 0dece72 commit 79a3bba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/collection_mode.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ let param =
8787
no_arg
8888
~doc:
8989
"Use stacktrace sampling instead of Intel PT. If Intel PT is not available, \
90-
magic-trace will default to this."
90+
magic-trace will default to this. For more info: https://magic.trace.org/w/b"
9191
in
9292
select_collection_mode ~extra_events ~use_sampling
9393
;;

src/callgraph_mode.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let param =
2626
" When magic-trace is running with sampling collection mode, this sets how it \
2727
should reconstruct callstacks. The options are [lbr]/[lbr-no-stitch]/[dwarf]/[fp] \
2828
or a sexp. Will default to [lbr] is available and [dwarf] otherwise. For more \
29-
info: https://magic-trace.org/w/c"
29+
info: https://magic-trace.org/w/b"
3030
;;
3131

3232
let to_perf_record_args = function

src/perf_tool_backend.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,13 @@ module Recording = struct
295295
| None, false ->
296296
Core.eprintf
297297
"Warning: [-callgraph-mode] is defaulting to [Dwarf] which may have high \
298-
overhead and decoding time. For more info: https://magic-trace.org/w/c\n";
298+
overhead and decoding time. For more info: https://magic-trace.org/w/b\n";
299299
return (Some Callgraph_mode.Dwarf)
300300
| None, true ->
301301
Core.eprintf
302302
"Warning: [-callgraph-mode] is defaulting to [Last_branch_record] which may \
303303
lose data and has limited callstack depth. For more info: \
304-
https://magic-trace.org/w/c\n";
304+
https://magic-trace.org/w/b\n";
305305
return (Some (Callgraph_mode.Last_branch_record { stitched = true }))
306306
| Some (Last_branch_record _), false ->
307307
Deferred.Or_error.error_string

0 commit comments

Comments
 (0)