From: Arnaldo Carvalho de Melo Date: Wed, 3 Jun 2009 17:49:21 +0000 (-0300) Subject: perf_counter tools: Fix off-by-one bug in symbol__new X-Git-Tag: v2.6.31-rc1~383^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18374ab76e3ec1cf1b0ca5a8d08e35cfc5d01669;p=pandora-kernel.git perf_counter tools: Fix off-by-one bug in symbol__new The end is really (start + len - 1). Noticed when synthesizing the PLT symbols, that are small (16 bytes), and hot on the start RIP. Signed-off-by: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner LKML-Reference: <20090603174921.GG7805@ghostprotocols.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed