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 <[email protected]>
  • Loading branch information
tchaikov committed Oct 17, 2024
1 parent d6dd763 commit bc99c6f
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 bc99c6f

Please sign in to comment.