File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -643,11 +643,11 @@ def _validate_args(args, parser):
643643 return
644644
645645 # Warn about blocking mode with aggressive sampling intervals
646- if args .blocking and args .interval < 100 :
646+ if args .blocking and args .sample_interval_usec < 100 :
647647 print (
648- f"Warning: --blocking with a { args .interval } µs interval will stop all threads "
649- f"{ 1_000_000 // args .interval } times per second. "
650- "Consider using --interval 1000 or higher to reduce overhead." ,
648+ f"Warning: --blocking with a { args .sample_interval_usec } µs interval will stop all threads "
649+ f"{ 1_000_000 // args .sample_interval_usec } times per second. "
650+ "Consider using --sampling-rate 10khz or lower to reduce overhead." ,
651651 file = sys .stderr
652652 )
653653
You can’t perform that action at this time.
0 commit comments