]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add helper functions for some sort keys
authorNamhyung Kim <namhyung@kernel.org>
Wed, 24 Feb 2016 15:13:33 +0000 (00:13 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 24 Feb 2016 16:05:04 +0000 (13:05 -0300)
commit5d7b2c814a0cef3762c83d66907d1dde40311877
tree883930798e64fbe42f53ee1518e86e68f887804d
parent1701b162ec42f0e9632cae4b589b55d3f7fe2168
perf tools: Add helper functions for some sort keys

The 'trace', 'srcline' and 'srcfile' sort keys updates hist entry's
field later.  With the hierarchy mode, those fields are passed to a
matching entry so it needs to identify the sort keys.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1456326830-30456-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.h
tools/perf/util/sort.c