perf tools: Fixup off-by-one comparision in maps__find
authorNamhyung Kim <[email protected]>
Tue, 14 Oct 2014 19:05:38 +0000 (16:05 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 14 Oct 2014 20:50:56 +0000 (17:50 -0300)
commit4955ea225db42144d1667838f908315a16d51c5b
tree477367985fdeea4007a5a3f85b12adfcee564498
parent77faf4d060e3ee1fd2ff6cd39f2b2eb887100422
perf tools: Fixup off-by-one comparision in maps__find

map->end is the first addr _outside_ the a map, following the convention
of vm_area_struct->vm_end.

Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Stephane Eranian <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/map.c