Namhyung Kim
aef810ec4e
perf hists: Basic support of hierarchical report view
...
In the hierarchical view, entries will be grouped and sorted on the
first key, and then on the second key, and so on. Add the
he->hroot_{in,out} fields to keep the lower level entries. Actually this
can share space, in a union, with callchain's 'sorted_root' since the
hroots are only used by non-leaf entries and callchain is only used by
leaf entries.
It also adds the 'parent_he' and 'depth' fields which can be used by browsers.
This patch only implements collapsing part which creates internal
entries for each sort key. These need to be sorted by output_sort stage
and to be displayed properly in the later patch(es).
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-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-02-24 13:35:44 -03:00
..
arch
perf tools: Rename parse_events__free_terms() to parse_events_terms__delete()
2016-02-12 17:09:17 -03:00
bench
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
config
perf build: Add libcrypto feature detection
2016-02-05 09:46:45 -03:00
Documentation
perf record: Add --all-user/--all-kernel options
2016-02-18 10:48:44 -03:00
jvmti
perf jvmti: Add check for java alternatives cmd in Makefile
2016-02-16 17:12:46 -03:00
python
scripts
perf python scripting: Append examples to err msg about audit-libs-python
2016-02-12 11:30:27 -03:00
tests
perf tools: Apply tracepoint event definition options to BPF script
2016-02-22 13:02:44 -03:00
trace/strace /groups
ui
perf tools: Fix assertion failure on dynamic entry
2016-02-22 12:07:14 -03:00
util
perf hists: Basic support of hierarchical report view
2016-02-24 13:35:44 -03:00
.gitignore
Build
perf tools: Set and pass DOCDIR to builtin-report.c
2016-01-12 12:42:07 -03:00
builtin-annotate.c
perf hists: Introduce perf_evsel__output_resort function
2016-02-03 11:13:11 -03:00
builtin-bench.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-buildid-cache.c
perf tools: Move timestamp creation to util
2016-01-29 17:30:06 -03:00
builtin-buildid-list.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-config.c
perf config: Add '--system' and '--user' options to select which config file is used
2016-02-12 10:54:46 -03:00
builtin-data.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-diff.c
perf diff: Use perf_hpp__register_sort_field interface
2016-01-08 12:59:30 -03:00
builtin-evlist.c
perf evlist: Add --trace-fields option to show trace fields
2016-01-08 14:23:02 -03:00
builtin-help.c
perf help: No need to use strbuf_remove()
2016-02-23 16:18:37 -03:00
builtin-inject.c
perf inject: Add jitdump mmap injection support
2016-02-05 09:46:45 -03:00
builtin-kmem.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-kvm.c
perf kvm/powerpc: Port perf kvm stat to powerpc
2016-01-29 17:49:54 -03:00
builtin-list.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-lock.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-mem.c
perf mem: Introduce perf_mem_events__name function
2016-02-24 10:11:52 -03:00
builtin-probe.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-record.c
perf record: Apply config to BPF objects before recording
2016-02-22 12:28:02 -03:00
builtin-report.c
perf report: Check error during report__collapse_hists()
2016-02-19 19:17:50 -03:00
builtin-sched.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-script.c
perf script: Print bpf-output events in 'perf script'
2016-02-24 12:09:24 -03:00
builtin-stat.c
perf stat: Bail out on unsupported event config modifiers
2016-02-19 19:12:49 -03:00
builtin-timechart.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-top.c
perf top: Move UI initialization ahead of sort setup
2016-02-03 12:24:03 -03:00
builtin-trace.c
perf subcmd: Create subcmd library
2015-12-17 14:27:14 -03:00
builtin-version.c
builtin.h
command-list.txt
perf tools: Do not show trace command if it's not compiled in
2016-01-08 12:46:17 -03:00
CREDITS
design.txt
Makefile
perf build tests: Do parallell builds with 'build-test'
2016-02-04 15:57:00 -03:00
Makefile.perf
perf build: Add EXTRA_LDFLAGS option to makefile
2016-02-12 11:30:20 -03:00
MANIFEST
perf tools: Add missing sources to perf's MANIFEST
2016-01-11 12:09:25 -03:00
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf tools: Initialize libapi debug output
2016-02-16 17:12:59 -03:00
perf.h
perf record: Add --all-user/--all-kernel options
2016-02-18 10:48:44 -03:00