perf tools: Move weight back to common sort keys
authorAndi Kleen <ak@linux.intel.com>
Thu, 18 Jul 2013 22:58:53 +0000 (15:58 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Jul 2013 19:58:28 +0000 (16:58 -0300)
commitf9ea55d0ddf66ed030b2a478625cd5792d30df16
tree2295c78a1e3a26809d2fee9e2285d17aa3eff452
parentdbad41893c7941f3c53805f8206993719f971bfa
perf tools: Move weight back to common sort keys

This is a partial revert of Namhyung's patch

 afab87b91f3f331d55664172dad8e476e6ffca9d
 perf sort: Separate out memory-specific sort keys

He wrote

 For global/local weights, I'm not entirely sure to place them into the
 memory dimension.  But it's the only user at this time.

Well TSX is another (in fact the original) user of the flags, and it
needs them to be common. So move local/global weight back to the common
sort keys.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Link: http://lkml.kernel.org/r/1374188333-17899-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c
tools/perf/util/sort.h