[PATCHv2 0/9] perf tools: Assorted fixes
From: Jiri Olsa
Date: Fri Mar 09 2018 - 05:14:52 EST
hi,
sending assorted general fixes that queued
up in my other branches.
v2 changes:
- rebased, some patches already taken
- multiple fixes suggested by Arnaldo
- new patch that frees memory_nodes in perf_env__exit
Also available in here:
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes
thanks,
jirka
---
Jiri Olsa (9):
perf tools: Free memory nodes data
perf tools: Add mem2node object
perf tests: Add mem2node object test
perf c2c record: Record physical addresses in samples
perf c2c report: Make calc_width work with struct c2c_hist_entry
perf c2c report: Call calc_width only for displayed entries
perf c2c report: Display node for cacheline address
perf c2c report: Add span header over cacheline data
perf c2c report: Add cacheline address count column
tools/perf/Documentation/perf-c2c.txt | 2 +-
tools/perf/builtin-c2c.c | 223 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
tools/perf/tests/Build | 1 +
tools/perf/tests/builtin-test.c | 4 +++
tools/perf/tests/mem2node.c | 75 ++++++++++++++++++++++++++++++++++++++
tools/perf/tests/tests.h | 1 +
tools/perf/util/Build | 1 +
tools/perf/util/env.c | 4 +++
tools/perf/util/mem2node.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/perf/util/mem2node.h | 19 ++++++++++
10 files changed, 446 insertions(+), 18 deletions(-)
create mode 100644 tools/perf/tests/mem2node.c
create mode 100644 tools/perf/util/mem2node.c
create mode 100644 tools/perf/util/mem2node.h