summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sort.h
diff options
context:
space:
mode:
authorZhang, Yanmin2010-04-19 07:32:50 +0200
committerAvi Kivity2010-04-19 11:37:24 +0200
commita1645ce12adb6c9cc9e19d7695466204e3f017fe (patch)
tree5d31aaaf534997e6e9cebc07f38eca35f76986cf /tools/perf/util/sort.h
parentKVM: Implement perf callbacks for guest sampling (diff)
downloadkernel-qcow2-linux-a1645ce12adb6c9cc9e19d7695466204e3f017fe.tar.gz
kernel-qcow2-linux-a1645ce12adb6c9cc9e19d7695466204e3f017fe.tar.xz
kernel-qcow2-linux-a1645ce12adb6c9cc9e19d7695466204e3f017fe.zip
perf: 'perf kvm' tool for monitoring guest performance from host
Here is the patch of userspace perf tool. Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r--tools/perf/util/sort.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 1d857aa2c01f..b7c54eeed9c9 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -44,6 +44,11 @@ extern enum sort_type sort__first_dimension;
struct hist_entry {
struct rb_node rb_node;
u64 count;
+ u64 count_sys;
+ u64 count_us;
+ u64 count_guest_sys;
+ u64 count_guest_us;
+
/*
* XXX WARNING!
* thread _has_ to come after ms, see