[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xen 4.4.2, coverage does not work properly


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Giuseppe De Rosa <giuseppe.de.rosa@xxxxxxxxxx>
  • Date: Tue, 2 May 2023 12:23:44 +0000
  • Accept-language: it-IT, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jo/xiiKU0q8YwYgahOjp7SkC5UPfgZJi825uHrMUX+U=; b=hxWW+kdWpnNsVs/1aCm4uVjDyeYS+NlpTJRBQh3YMWrgipsxctUEAWi1ajBwQdQeADBYcdVgKmrc1JqWlfRRiXof7YH0L6n8nLqB1KBZPLEegLXGMj3iXOgt6mYQMUpG2cqUWfpDqrlvMy4qnofeCJXcx7tu9dtZ9U3dfLzs/cisogH7yU04bSs+rlWocg7M7N6Hd+mnFwx0V38SqOrelUuzAY893c3gOquhdcn1qqW25TEqduFBkJwR+zDrCxqHv+v1jD/6Wjh1FHcpAWWIYi+7FKmYbtOxMLBCY4dcL9PypbaWeGGvZB8U0kDMQ9u34HAhS8R34Z/EX8aNf4XWjA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UC+Y+p8ml2Dh0I2jpUrwAV4/CyMqbXaipvZHac0X3Vv0+4PBhiLq7O2+ir+RphWqdHD4oMG2Ve88/swMAl78ocnLFXI3v623+JbPZiPtz/715jMZeBehp8Py7flBvjgcdplX9emaeTZzsf466LK5cBI5ko5dfyGrutvr9CyN8EKLzFbJPbe7iSpV3qO+QSBwK5CZdTE8CSqyjbnccDOp/W79mEHr/d34LbDorlK8pSipF3qJd5tsz3JdyAVy2Zgnufncm6X2W3m0vXQqq+r0xO5dDUhJ7rGs+MB9hSZOm1tpTrzY7mi9J7giLsEajamjQQgt3i5rGwvAX8ID7N1Bcw==
  • Delivery-date: Wed, 03 May 2023 16:26:08 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Msip_labels:
  • Thread-index: AQHZfPAOz06GhXfsmkeHixtnKsWO8g==
  • Thread-topic: Xen 4.4.2, coverage does not work properly

Hello everybody,

I apologize for asking for help on such an outdated version of Xen. I would like to understand why xencov read always returns the same dat file as shown in the attached file.

I followed this guide https://wiki.xenproject.org/index.php?title=Compiling_Xen_From_Source&oldid=17237 (14 September 2016 version) to compile Xen from source and this guide to enable coverage support https://xenbits.xen.org/docs/4.8-testing/misc/coverage.html. I also applied this patch https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg03353.html because I had some compilation errors. 

Everything went fine until I used xencov read. The result is always the same (4 bytes returned, always .CTX) but the file is malformed because xencov_split cannot read that.

I am using Ubuntu 14.04. I made sure to enable test coverage support under xen/Config.mk and gcov under tools/qemu-xen/configure. I checked the compilation logs and every file was instrumented with the -ftest-coverage option.

Attachment: image.png
Description: image.png


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.