]> git.baikalelectronics.ru Git - kernel.git/commit
tools/perf: Fix sorting for 64bit entries
authorAndi Kleen <ak@linux.intel.com>
Tue, 1 Oct 2013 14:22:15 +0000 (07:22 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 4 Oct 2013 08:06:06 +0000 (10:06 +0200)
commit64effb84f6daba58f7b26fd7fb5b055c5e11180f
tree49324485861fbf124babc19942a47d04bac35e10
parent75ddcda6da9513e74ffdb419633120c9b78b8b75
tools/perf: Fix sorting for 64bit entries

Some of the node comparisons in hist.c dropped the upper
32bit by using an int variable to store the compare
result. This broke various 64bit fields, causing
incorrect collapsing (found for the TSX transaction field)

Just use int64_t always.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1380637335-30110-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/util/hist.c