[Patch v2 5/5] perf c2c: Rename "Region" column to "Range" for consistency

From: Dapeng Mi

Date: Sun Nov 08 2026 - 19:52:45 EST


Currently the "Memory Ranges" header uses the word "range" to indicate
a memory region, however the top-level cachelines and per-cacheline pages
label the memory-region column as "Region". This naming mismatch could
confuse the users.

Rename the column label to "Range" to match the existing "Memory Ranges"
terminology and keep the output clearer for users.

Signed-off-by: Dapeng Mi <dapeng1.mi@xxxxxxxxxxxxxxx>
---
tools/perf/builtin-c2c.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c
index a2dcc65d6b3c..94fca3e4fc0a 100644
--- a/tools/perf/builtin-c2c.c
+++ b/tools/perf/builtin-c2c.c
@@ -1395,11 +1395,11 @@ static struct c2c_dimension dim_dcacheline_node = {
};

static struct c2c_dimension dim_dcacheline_mem_region = {
- .header = HEADER_LOW("Region"),
+ .header = HEADER_LOW("Range"),
.name = "dcacheline_mem_region",
.cmp = empty_cmp,
.entry = dcacheline_node_mem_region,
- .width = 6,
+ .width = 5,
};

static struct c2c_dimension dim_dcacheline_count = {
@@ -1429,11 +1429,11 @@ static struct c2c_dimension dim_offset_node = {
};

static struct c2c_dimension dim_offset_mem_region = {
- .header = HEADER_LOW("Region"),
+ .header = HEADER_LOW("Range"),
.name = "offset_mem_region",
.cmp = empty_cmp,
.entry = dcacheline_node_mem_region,
- .width = 6,
+ .width = 5,
};

static struct c2c_dimension dim_iaddr = {
--
2.34.1