Re: [PATCH v3] perf sched replay: Fix -r/--repeat command line option for infinity

From: Namhyung Kim
Date: Tue Jul 02 2024 - 14:45:57 EST


On Fri, 28 Jun 2024 12:48:21 +0530, Madadi Vineeth Reddy wrote:

> Currently, the -r/--repeat option accepts values from 0 and complains
> for -1. The help section specifies:
> -r, --repeat <n> repeat the workload replay N times (-1: infinite)
>
> The -r -1 option raises an error because replay_repeat is defined as
> an unsigned int.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung