From: "KUWAMURA Shin'ya" Subject: Re: [PATCH] xenmon: --ms_per_sample: check too large value Date: Tue, 19 Sep 2006 13:57:55 +0900 (JST) Message-ID: <20060919.135755.24559062.kuwa@jp.fujitsu.com> References: <20060908.105047.77000778.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060908.105047.77000778.kuwa@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, Do you have any comment? If you have no comment, could you commit this patch? http://lists.xensource.com/archives/html/xen-devel/2006-09/msg00244.html On <20060908.105047.77000778.kuwa@jp.fujitsu.com>, "KUWAMURA Shin'ya" said: > > This patch adds the argument check of "--ms_per_sample" option. > > If a value of "--ms_per_sample" option is larger than a value of > "--time" option, xenmon may generate no log file. So, too large > "--ms_per_sample" should be treated as an error. > > e.g. > % xenmon.py --ms_per_sample=2000 -t 1 -n > usage: xenmon.py [options] > > xenmon.py: error: option --ms_per_sample: too large (> 1000 ms) > > # Notice that a unit of "--time" is a second. > > Signed-off-by: KUWAMURA Shin'ya Best Regards, -- KUWAMURA Shin'ya