perf c2c report: Display Total records column in offset view
authorJiri Olsa <jolsa@kernel.org>
Fri, 20 Jan 2017 09:20:31 +0000 (10:20 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Jan 2017 19:52:43 +0000 (16:52 -0300)
commit8763e6ac2d368ac9d650df35b00c3af2a7c1878b
tree4b86f991207f666eb150128bde8795bdc186941c
parent0e3fa7a7acdd5f6ec89b3692276e35006c06fb92
perf c2c report: Display Total records column in offset view

Adding "Total records" column into cacheline pareto table, between
cycles and cpu info.

  $ perf c2c report
  ...

  ---    ---------- cycles ----------    Total       cpu
         rmt hitm  lcl hitm      load  records       cnt
  ...    ........  ........  ........  .......  ........

                0       112        71       34         4
                0         0         0       18         1
                0         0         0        2         1
                0       132         0        3         3

  ...

It's useful to see how many recorded samples represent each offset.

Signed-off-by: Jiri Olsa <jolsa@kernel.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/1484904032-11040-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c