kernel-fxtec-pro1x/tools/perf/tests
Namhyung Kim 9d3c02d718 perf tools: Add callback function to hist_entry_iter
The new ->add_entry_cb() will be called after an entry was added to
the histogram.  It's used for code sharing between perf report and
perf top.  Note that ops->add_*_entry() should set iter->he properly
in order to call the ->add_entry_cb.

Also pass @arg to the callback function.  It'll be used by perf top
later.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arun Sharma <asharma@fb.com>
Tested-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/87k393g999.fsf@sejong.aot.lge.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2014-06-01 14:35:05 +02:00
..
attr perf record: Make per-cpu mmaps the default. 2013-11-27 14:58:36 -03:00
attr.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
attr.py perf tests: Make attr script test event cpu 2013-03-15 13:06:00 -03:00
bp_signal.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
bp_signal_overflow.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
builtin-test.c perf tests: Add a testcase for histogram output sorting 2014-05-21 11:45:37 +02:00
code-reading.c perf tools: Use tid for finding thread 2014-05-12 11:09:50 +02:00
dso-data.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
dwarf-unwind.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
evsel-roundtrip-name.c perf evlist: Introduce evlist__for_each() & friends 2014-01-13 10:06:25 -03:00
evsel-tp-sched.c perf tools: Remove usage of trace_sched_wakeup(.success) 2014-05-12 21:13:44 +02:00
hists_common.c perf tests: Add a testcase for histogram output sorting 2014-05-21 11:45:37 +02:00
hists_common.h perf tests: Factor out print_hists_*() 2014-05-21 11:45:37 +02:00
hists_filter.c perf tools: Add callback function to hist_entry_iter 2014-06-01 14:35:05 +02:00
hists_link.c perf hists: Check if accumulated when adding a hist entry 2014-06-01 14:34:56 +02:00
hists_output.c perf tools: Add callback function to hist_entry_iter 2014-06-01 14:35:05 +02:00
keep-tracking.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
make perf tests: Add static build make test 2014-04-30 16:48:57 +02:00
mmap-basic.c perf evlist: Introduce evlist__for_each() & friends 2014-01-13 10:06:25 -03:00
mmap-thread-lookup.c perf tests: Add thread maps lookup automated tests 2014-04-28 13:42:52 +02:00
open-syscall-all-cpus.c perf evsel: Remove idx parm from constructor 2013-11-11 15:56:39 -03:00
open-syscall-tp-fields.c perf record: Rename --no-delay to --no-buffering 2014-01-14 17:57:04 -03:00
open-syscall.c perf evsel: Remove idx parm from constructor 2013-11-11 15:56:39 -03:00
parse-events.c perf tests: Add a test of kvm-390: trace event 2014-04-29 14:30:43 +02:00
parse-no-sample-id-all.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
perf-record.c perf record: Rename --no-delay to --no-buffering 2014-01-14 17:57:04 -03:00
perf-targz-src-pkg perf tools: Add test for building detached source tarballs 2014-01-13 10:06:26 -03:00
perf-time-to-tsc.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
pmu.c perf tests: Use ARRAY_SIZE() were applicable 2013-01-24 16:40:51 -03:00
python-use.c perf tests: Check python path on attr and binding test 2013-01-24 16:40:10 -03:00
rdpmc.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
sample-parsing.c tools: Consolidate types.h 2014-05-01 21:22:39 +02:00
sw-clock.c perf evlist: Auto unmap on destructor 2014-01-13 10:06:22 -03:00
task-exit.c perf evlist: Auto unmap on destructor 2014-01-13 10:06:22 -03:00
tests.h perf tests: Add a testcase for histogram output sorting 2014-05-21 11:45:37 +02:00
thread-mg-share.c perf tests: Add map groups sharing with thread object test 2014-04-28 13:43:40 +02:00
vmlinux-kallsyms.c perf tests: No need to set up ref_reloc_sym 2014-01-31 17:21:52 -03:00