From: Jiri Olsa Date: Fri, 15 May 2015 15:54:28 +0000 (+0200) Subject: perf tools: Fix "Command" sort_entry's cmp and collapse function X-Git-Tag: omap-for-v4.3/legacy-v2-signed~210^2~43^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f15bd8c6c6e80f15c899ea84b53fa607a2f08b2;p=pandora-kernel.git perf tools: Fix "Command" sort_entry's cmp and collapse function Currently the se_cmp and se_collapse use pointer comparison, which is ok for for testing equality of strings. It's not ok as comparing function for rbtree insertion, because it gives different results based on current pointer values. We saw test 32 (hists cumulation test) failing based on different environment setup. Having all sort functions straightened fix the test for us. Reported-by: Jan Stancek Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Jan Stancek Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed