From: Ian Jackson Subject: [OSSTEST PATCH] ts-hosts-allocate-Executive: improve debugging slightly Date: Wed, 23 Apr 2014 11:05:30 +0100 Message-ID: <1398247530-31684-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wcu3h-0004fI-O5 for xen-devel@lists.xenproject.org; Wed, 23 Apr 2014 10:05:41 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org I spotted a logfile where an allocation had failed (later worked OK) with $allocatable=0 here. Provide more info next time. Signed-off-by: Ian Jackson --- ts-hosts-allocate-Executive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive index 707c6a7..0e9c193 100755 --- a/ts-hosts-allocate-Executive +++ b/ts-hosts-allocate-Executive @@ -644,7 +644,8 @@ sub actual_allocation ($) { my $allocatable= $cand->{owntaskid} == $magictaskid{allocatable}; my $dbg= "$hid->{Ident} $sel->{Reso}"; - printf DEBUG "%s ALLOC PLAIN %d\n", $dbg, $allocatable; + printf DEBUG "%s ALLOC PLAIN %d (%d, %d)\n", $dbg, $allocatable, + $cand->{owntaskid}, $magictaskid{allocatable}; my $shared; my $shrestype= 'share-'.$sel->{restype}; -- 1.7.10.4