Re: [PATCH 10/13] perf kvm: add live mode

From: Ingo Molnar
Date: Fri May 10 2013 - 04:08:53 EST



* David Ahern <dsahern@xxxxxxxxx> wrote:

> >2)
> >
> >Another suggestion: it would be nice to allow a "--repeat <n>" option as
> >well, for a limited number of iterations - similar to what the 'top' tool
> >allows:
> >
> > top -b -d <delay> -n <iterations>
> >
> >--repeat 0 means infinite repeats, --repeat 1 means a single step.
>
> Missed that option in perf-top. Let me take a look at it.

-n and -b is a regular /usr/bin/top feature, not perf-top feature :-)

perf-top has no such option AFAICS - but it could be added there as well.
Regular perf-stat has a --repeat option and it's very useful there.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/