From: Arnaldo Carvalho de Melo Date: Tue, 26 May 2009 15:21:34 +0000 (-0300) Subject: perf: Don't assume /proc/kallsyms is ordered X-Git-Tag: v2.6.31-rc1~383^2~198 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd54f68629fa73ed4fa040d433196211a9bbed2;p=pandora-kernel.git perf: Don't assume /proc/kallsyms is ordered perf: Don't assume /proc/kallsyms is ordered Since we _are_ ordering it by the symbol start, just traverse the freshly built rbtree setting the prev->end members to curr->start - 1. 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: John Kacur LKML-Reference: <20090526152134.GF4424@ghostprotocols.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed