diff options
author | Namhyung Kim <namhyung@kernel.org> | 2016-02-25 00:13:35 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-02-24 16:54:09 -0300 |
commit | 1a3906a7e6b9cbfaf2a3d00c310aed8af8e10d92 (patch) | |
tree | 0ac85c84b36f065552013f89eaa45414a83a3f4d /Documentation/kernel-doc-nano-HOWTO.txt | |
parent | aef810ec4e6b638facb6c81803c019906f34f014 (diff) | |
download | op-kernel-dev-1a3906a7e6b9cbfaf2a3d00c310aed8af8e10d92.zip op-kernel-dev-1a3906a7e6b9cbfaf2a3d00c310aed8af8e10d92.tar.gz |
perf hists: Resort hist entries with hierarchy
For hierarchical output, each entry must be sorted in their rbtree
(hroot) properly. Add hists__hierarchy_output_resort() to do the job.
Note that those hierarchy entries share the period counts, it'd be
important to update the hists->stats only once (for leaves).
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Pekka Enberg <penberg@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-4-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/kernel-doc-nano-HOWTO.txt')
0 files changed, 0 insertions, 0 deletions