KUWAMURA Shin''ya
2006-Sep-05 04:50 UTC
[Xen-devel] [PATCH] xenmon: --ms_per_sample: check a negative value
Hi, This patch adds the argument check of "--ms_per_sample=" option. For "--ms_per_sample=", a negative value should be invalid. e.g. % xenmon.py -n --ms_per_sample=-1 usage: xenmon.py [options] xenmon.py: error: option --ms_per_sample: invalid negative value: ''-1'' Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com> -- KUWAMURA Shin''ya _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Sep-05 16:05 UTC
Re: [Xen-devel] [PATCH] xenmon: --ms_per_sample: check a negative value
On Tue, Sep 05, 2006 at 01:50:15PM +0900, KUWAMURA Shin''ya wrote:> Hi, > > This patch adds the argument check of "--ms_per_sample=" option. For > "--ms_per_sample=", a negative value should be invalid. > > e.g. > % xenmon.py -n --ms_per_sample=-1 > usage: xenmon.py [options] > > xenmon.py: error: option --ms_per_sample: invalid negative value: ''-1'' > > Signed-off-by: KUWAMURA Shin''ya <kuwa@jp.fujitsu.com>Applied, thanks. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel