Message from discussion
perf kvm: Total count is a u64, print as so
Received: by 10.66.79.6 with SMTP id f6mr4763734pax.3.1349805003518;
Tue, 09 Oct 2012 10:50:03 -0700 (PDT)
Path: g9ni69943pbh.1!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!news.unit0.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!newsfeed.x-privat.org!bofh.it!news.nic.it!robomod
From: tip-bot for David Ahern <dsah...@gmail.com>
Newsgroups: linux.kernel
Subject: [tip:perf/core] perf kvm: Total count is a u64, print as so
Date: Tue, 09 Oct 2012 19:50:03 +0200
Message-ID: <jSM6n-11Z-23@gated-at.bofh.it>
References: <jSp9M-1bi-17@gated-at.bofh.it>
X-Original-To: linux-tip-comm...@vger.kernel.org
Reply-To: mi...@kernel.org, h...@zytor.com, linux-ker...@vger.kernel.org,
a...@redhat.com, pet...@infradead.org, fweis...@gmail.com,
haod...@linux.vnet.ibm.com, xiaoguangr...@linux.vnet.ibm.com,
dsah...@gmail.com, t...@linutronix.de
Git-Commit-ID: e4f7637f8aefa2ad5159a1cda46fedea6eaf64fc
X-Mailer: tip-git-log-daemon
Robot-ID: <tip-bot.git.kernel.org>
Robot-Unsubscribe: Contact <mailto:h...@kernel.org>
to get blacklisted from these emails
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (terminus.zytor.com [127.0.0.1]); Tue, 09 Oct 2012 10:39:24 -0700 (PDT)
Sender: robo...@news.nic.it
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org
Approved: robo...@news.nic.it
Lines: 43
Organization: linux.* mail to news gateway
X-Original-Cc: a...@redhat.com, linux-ker...@vger.kernel.org, h...@zytor.com,
mi...@kernel.org, pet...@infradead.org, fweis...@gmail.com,
haod...@linux.vnet.ibm.com, xiaoguangr...@linux.vnet.ibm.com,
dsah...@gmail.com, t...@linutronix.de
X-Original-Date: Tue, 9 Oct 2012 10:39:18 -0700
X-Original-Message-ID: <tip-e4f7637f8aefa2ad5159a1cda46fedea6eaf64fc@git.kernel.org>
X-Original-References: <1349716656-48165-11-git-send-email-dsah...@gmail.com>
X-Original-Sender: linux-kernel-ow...@vger.kernel.org
Bytes: 3774
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Commit-ID: e4f7637f8aefa2ad5159a1cda46fedea6eaf64fc
Gitweb: http://git.kernel.org/tip/e4f7637f8aefa2ad5159a1cda46fedea6eaf64fc
Author: David Ahern <dsah...@gmail.com>
AuthorDate: Mon, 8 Oct 2012 11:17:34 -0600
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Mon, 8 Oct 2012 17:15:25 -0300
perf kvm: Total count is a u64, print as so
remove cast and use proper type in format.
Signed-off-by: David Ahern <dsah...@gmail.com>
Cc: Dong Hao <haod...@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweis...@gmail.com>
Cc: Ingo Molnar <mi...@kernel.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Xiao Guangrong <xiaoguangr...@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1349716656-48165-11-git-send-email-dsah...@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
tools/perf/builtin-kvm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c
index 8416754..72a302e 100644
--- a/tools/perf/builtin-kvm.c
+++ b/tools/perf/builtin-kvm.c
@@ -673,8 +673,8 @@ static void print_result(struct perf_kvm *kvm)
pr_info("\n");
}
- pr_info("\nTotal Samples:%lld, Total events handled time:%.2fus.\n\n",
- (unsigned long long)kvm->total_count, kvm->total_time / 1e3);
+ pr_info("\nTotal Samples:%" PRIu64 ", Total events handled time:%.2fus.\n\n",
+ kvm->total_count, kvm->total_time / 1e3);
}
static int process_sample_event(struct perf_tool *tool,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/