summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/mem-events.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-11-21 22:33:29 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-11-23 10:44:05 -0300
commitdba8ab93792a3a864ff741efe435b2ecbdfb66b1 (patch)
tree58eaabcb4ef4a00444f9680766db4bca8f4ca545 /tools/perf/util/mem-events.h
parentb7ac4f9f3b2532b4e3dcd3d402c405c46a8ec811 (diff)
downloadlinux-dba8ab93792a3a864ff741efe435b2ecbdfb66b1.tar.bz2
perf c2c report: Add struct c2c_stats::tot_hitm field
Count total number of HITMs in a special field. This will ease up addition of total HITM sorting into c2c report in the following patch. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Joe Mario <jmario@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1479764011-10732-5-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mem-events.h')
-rw-r--r--tools/perf/util/mem-events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/mem-events.h b/tools/perf/util/mem-events.h
index faf80403b519..40f72ee4f42a 100644
--- a/tools/perf/util/mem-events.h
+++ b/tools/perf/util/mem-events.h
@@ -59,6 +59,7 @@ struct c2c_stats {
u32 ld_llchit; /* count of loads that hit LLC */
u32 lcl_hitm; /* count of loads with local HITM */
u32 rmt_hitm; /* count of loads with remote HITM */
+ u32 tot_hitm; /* count of loads with local and remote HITM */
u32 rmt_hit; /* count of loads with remote hit clean; */
u32 lcl_dram; /* count of loads miss to local DRAM */
u32 rmt_dram; /* count of loads miss to remote DRAM */