Message ID | 20180629205232.27190-11-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1306430ljj; Fri, 29 Jun 2018 14:03:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe6EwXjbI4Iz2G/GNx+2pgh4T4CeElZlN8mjB3Vm0eSk67OhMhW+yquLjhpYijBMRZPdSYU X-Received: by 2002:a0c:dd86:: with SMTP id v6-v6mr4853188qvk.148.1530306227412; Fri, 29 Jun 2018 14:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530306227; cv=none; d=google.com; s=arc-20160816; b=Y2szqDpVfY1ktbrKzLh2T/oJ/aDPoGRfkd7M+JcGV1VWl67XRb++IPnz/p5jxRwn4F VAHEx+mvDxWqXX5+XGjiUAtVwqwO60XEciDr9g2YWh+L99HZ/2l66Ta/kB6m3QE/evjp DEt63LkwXSkFZXbIw/w7uWi27KxwM5/Rb5vSV7q5NVzb4hojnpmOaXIMdFvbvX8aiGTV kr0oGZ0myVA4yltWs3ELJ3s2aPFbUIQGa4R502jKE+afGj1Tb8RwrZOiMUIX8uHE9xas FfhtRe/rE9bO01GJPcYUKtH/6OG+tflX7eZOQigupqH8mztJVab3GaiQ/CQZL6G2mTiW OjHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=kmxmf7D1wRCQMWlrMFFuqjwqqZgMGx8Sce56K/tkabU=; b=dssCHsjdLR02Nsl46DgFNW8BLQnlhc6ADTeRj6CM6Hv3pJRGB60BCPxOwjCvbcStf4 9QigFqt34sX1n1JDTpy3YCY5ia67IhjoC568jm3eA0I7TWTX5qh2j2pr8g54zmfZLVEz j2wx2aFddwAZCINqnKqN3lC2Rw9eQmK3+GD/V7ZoOl6ydEYaTlPR7e6Z9YjpLvU2mFlk vxU0LxkFfCUmIUtybgXcfi1wm3XIwrQ40IaGZuxhZ1q6ZwQ7+vVu88T0GVz/xPniNfGI D+/DBtvaNOGnF++8JIMtQiz5RwQuvQs9GbM69AbsPCI7zjS/7ADjd2V7yPGrI/tP8naV OR7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UagC+5xd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 42-v6si610042qvf.139.2018.06.29.14.03.47 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 29 Jun 2018 14:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=UagC+5xd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1fZ0YU-0001e7-SB for patch@linaro.org; Fri, 29 Jun 2018 17:03:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fZ0Nu-0008CX-To for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fZ0Nq-0006Xc-6a for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:50 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:34176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fZ0Np-0006W2-VR for qemu-devel@nongnu.org; Fri, 29 Jun 2018 16:52:46 -0400 Received: by mail-wm0-x232.google.com with SMTP id l15-v6so2882227wmc.1 for <qemu-devel@nongnu.org>; Fri, 29 Jun 2018 13:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kmxmf7D1wRCQMWlrMFFuqjwqqZgMGx8Sce56K/tkabU=; b=UagC+5xdBZYa2vRVYjlM50Pv53s48HsyCUbOMOFWOmsuAMvGatnmZQh5e0VrJfX/Nb 2NDzWAoAmx71CDO2CXL7HS8LqNULR367hBzqE3IcbebO3jwLQ0N3dV85UCZBLyDoK53O leJPn+L1DiTMed0sUIAAs/+FaNcMDAxewZCIk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kmxmf7D1wRCQMWlrMFFuqjwqqZgMGx8Sce56K/tkabU=; b=eqn52+od1Sx0vSIRYdQqalA/n923iGBbtJXWy9HQEACadfnlmnM2aUKauN7xuvY9cP wm6RAz0iZjmPvmKM/2xZ1HG3QYT4CNYdawgYy3KK779gtxo3BcxKjMwV5NM90glTtqbb TbGy6Xptp/eEOQ/Dpzwpj3TO2pkXRZ2HAtFFNJhpk9XvIT+lyr1yKBFtZDPAcTViLinZ IiY9bWeVgCUgaq2i72J2podLe5SGDO7/04/B5QWLxjHPns+02TyHtgSnX4I6PIXNwasr WcLXTIiIYmCJaBBjk/5Gu0Z+0VV7krsleFnKCBOcN72MXDxsq8p6lVqckdrP5DaMvKJF dtxw== X-Gm-Message-State: APt69E2ATdnqLwHRvV3S9WNX0McM184CssPTmHrTXTTfIoN8CX/cMT2F ZZtaeEeG06v3mnfFYLa1JdiF/A== X-Received: by 2002:a1c:17d4:: with SMTP id 203-v6mr2675549wmx.75.1530305564818; Fri, 29 Jun 2018 13:52:44 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r7-v6sm3966187wrn.83.2018.06.29.13.52.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 13:52:40 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 930473E07B9; Fri, 29 Jun 2018 21:52:33 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Fri, 29 Jun 2018 21:52:21 +0100 Message-Id: <20180629205232.27190-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180629205232.27190-1-alex.bennee@linaro.org> References: <20180629205232.27190-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 Subject: [Qemu-devel] [PATCH v2 10/21] linux-user: add gcov support to preexit_cleanup X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: pbonzini@redhat.com, Riku Voipio <riku.voipio@iki.fi>, =?utf-8?q?Alex_?= =?utf-8?q?Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
Travis, Code Coverage and Cross Build updates
|
expand
|
diff --git a/linux-user/exit.c b/linux-user/exit.c index aed8713fae..14e94e28fa 100644 --- a/linux-user/exit.c +++ b/linux-user/exit.c @@ -19,10 +19,17 @@ #include "qemu/osdep.h" #include "qemu.h" +#ifdef CONFIG_GCOV +extern void __gcov_dump(void); +#endif + void preexit_cleanup(CPUArchState *env, int code) { #ifdef TARGET_GPROF _mcleanup(); +#endif +#ifdef CONFIG_GCOV + __gcov_dump(); #endif gdb_exit(env, code); }