[PATCH 21/24] perf tools: fix off-by-one error in maps

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian This patch fixes off-by-one errors in the management of maps. A map is defined by start address and length as implemented by map__new(): map__init(map, type, start, start + len, pgoff, dso); map->start = addr; map->end = end; Consequently, the actual address

[PATCH 21/24] perf tools: fix off-by-one error in maps

2014-10-14 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian eran...@google.com This patch fixes off-by-one errors in the management of maps. A map is defined by start address and length as implemented by map__new(): map__init(map, type, start, start + len, pgoff, dso); map-start = addr; map-end = end; Consequently, the