Skip to content

Commit

Permalink
stall-analyser: pass args.tmin instead of tmin
Browse files Browse the repository at this point in the history
8e58341 introduced a regression, which passes an undefined variable of
`tmin` to `print_stats()`.

in this change, we pass `args.tmin` instead of `tmin` to this function.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes #2506
  • Loading branch information
tchaikov authored and xemul committed Oct 18, 2024
1 parent c88543c commit 360fa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/stall-analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def main():
sys.exit()
if args.format == 'graph':
print_command_line_options(args)
print_stats(tally, tmin)
print_stats(tally, args.tmin)
render.print_graph(args.direction, args.width, args.branch_threshold)
except BrokenPipeError:
pass
Expand Down

0 comments on commit 360fa1d

Please sign in to comment.