From patchwork Fri Nov 2 10:03:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 1687731 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C32A13FD2B for ; Fri, 2 Nov 2012 10:03:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932906Ab2KBKDo (ORCPT ); Fri, 2 Nov 2012 06:03:44 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:33632 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762210Ab2KBKDm (ORCPT ); Fri, 2 Nov 2012 06:03:42 -0400 Received: by mail-bk0-f46.google.com with SMTP id jk13so1310415bkc.19 for ; Fri, 02 Nov 2012 03:03:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=DsnoFiY6vrAGHDIhgo0gqeiEByFzPeFrtYu0RMepDbs=; b=h5uWjkSyx4hv/C8Dzry56TUO8RJ47N2+ZkiHb68z4/d44FmxwLYLALgB3b00TtmBET 1Fn2gRH50pLQ07i8XXnBALG2la+vVTl8m2w+JrE8UKwEEQ02Z4uLA4CetgwpC6KafyCJ YwVbSqBVKcNEpQq7hmGVhWm8RfeC3Fo49S41+mP3FJcWg6nF7ReXtoI59dwRH3uEKi+Z 6hW8zouEudFRLr7pGBLMEbR1RNqFt/j9Zk60iRi2p1lgBmXip5NVd2xE/EzIL9UagwHB wm3cHRTmq271BD9yIbiyMB+tPH5lI8l8epxorbuSdt5hEIXti1nqJjLrsXOrgDEuJr0n seEA== Received: by 10.204.152.2 with SMTP id e2mr229124bkw.92.1351850622056; Fri, 02 Nov 2012 03:03:42 -0700 (PDT) Received: from localhost.localdomain ([91.224.175.20]) by mx.google.com with ESMTPS id z22sm6155655bkw.2.2012.11.02.03.03.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Nov 2012 03:03:41 -0700 (PDT) From: Christoffer Dall To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, Christoffer Dall Subject: [RFC PATCH 2/4] KVM: ARM: Fixup trace ipa printing Date: Fri, 2 Nov 2012 11:03:20 +0100 Message-Id: <1351850602-4781-3-git-send-email-c.dall@virtualopensystems.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351850602-4781-1-git-send-email-c.dall@virtualopensystems.com> References: <1351850602-4781-1-git-send-email-c.dall@virtualopensystems.com> X-Gm-Message-State: ALoCoQnC3pVcoqhONd8ULHpdIzXA18+J7K2DGFLcY8/w8RknWR1kPFkbNl56zntX0IBTeyXULye/ Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The arguments where shifted and printed a 64 bit integer as a 32 bit integer. Signed-off-by: Christoffer Dall --- arch/arm/kvm/trace.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/kvm/trace.h b/arch/arm/kvm/trace.h index c3d05f4..cd52640 100644 --- a/arch/arm/kvm/trace.h +++ b/arch/arm/kvm/trace.h @@ -42,14 +42,14 @@ TRACE_EVENT(kvm_exit, TRACE_EVENT(kvm_guest_fault, TP_PROTO(unsigned long vcpu_pc, unsigned long hsr, unsigned long hxfar, - unsigned long ipa), + unsigned long long ipa), TP_ARGS(vcpu_pc, hsr, hxfar, ipa), TP_STRUCT__entry( __field( unsigned long, vcpu_pc ) __field( unsigned long, hsr ) __field( unsigned long, hxfar ) - __field( unsigned long, ipa ) + __field( unsigned long long, ipa ) ), TP_fast_assign( @@ -60,9 +60,9 @@ TRACE_EVENT(kvm_guest_fault, ), TP_printk("guest fault at PC %#08lx (hxfar %#08lx, " - "ipa %#08lx, hsr %#08lx", + "ipa %#16llx, hsr %#08lx", __entry->vcpu_pc, __entry->hxfar, - __entry->hsr, __entry->ipa) + __entry->ipa, __entry->hsr) ); TRACE_EVENT(kvm_irq_line,