From patchwork Mon Jul 25 15:13:36 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 106698 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 86D55B6F8E for ; Tue, 26 Jul 2011 01:16:00 +1000 (EST) Received: from localhost ([::1]:49785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMsp-0008Ub-LP for incoming@patchwork.ozlabs.org; Mon, 25 Jul 2011 11:15:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMsi-0008KY-8g for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:15:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlMsd-00021O-Fx for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:15:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlMsd-00021E-7n for qemu-devel@nongnu.org; Mon, 25 Jul 2011 11:15:39 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6PFFb6q016531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Jul 2011 11:15:37 -0400 Received: from red-feather.redhat.com (ovpn-116-32.ams2.redhat.com [10.36.116.32]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6PFFZrN020511; Mon, 25 Jul 2011 11:15:36 -0400 From: Jes.Sorensen@redhat.com To: qemu-devel@nongnu.org Date: Mon, 25 Jul 2011 17:13:36 +0200 Message-Id: <1311606816-24045-1-git-send-email-Jes.Sorensen@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: stefanha@gmail.com Subject: [Qemu-devel] [PATCH resend] Add missing trace call to oslib-posix.c:qemu_vmalloc() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jes Sorensen Signed-off-by: Jes Sorensen Acked-by: Stefan Hajnoczi --- oslib-posix.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/oslib-posix.c b/oslib-posix.c index 3a18e86..196099c 100644 --- a/oslib-posix.c +++ b/oslib-posix.c @@ -79,7 +79,10 @@ void *qemu_memalign(size_t alignment, size_t size) /* alloc shared memory pages */ void *qemu_vmalloc(size_t size) { - return qemu_memalign(getpagesize(), size); + void *ptr; + ptr = qemu_memalign(getpagesize(), size); + trace_qemu_vmalloc(size, ptr); + return ptr; } void qemu_vfree(void *ptr)