remarkable-linux/tools/perf
Hitoshi Mitake 2044279d1e perf bench: Add "all" pseudo subsystem and "all" pseudo suite
This patch adds a new "all" pseudo subsystem and an "all" pseudo
suite. These are for testing all subsystem and its all suite, or
all suite of one subsystem.

(This patch also contains a few trivial comment fixes for
bench/* and output style fixes. I judged that there are no
necessity to make them into individual patch.)

Example of use:

| % ./perf bench sched all                      # Test all suites of sched subsystem
| # Running sched/messaging benchmark...
| # 20 sender and receiver processes per group
| # 10 groups == 400 processes run
|
|      Total time: 0.414 [sec]
|
| # Running sched/pipe benchmark...
| # Extecuted 1000000 pipe operations between two tasks
|
|      Total time: 10.999 [sec]
|
|       10.999317 usecs/op
|           90914 ops/sec
|
| % ./perf bench all                            # Test all suites of all subsystems
| # Running sched/messaging benchmark...
| # 20 sender and receiver processes per group
| # 10 groups == 400 processes run
|
|      Total time: 0.420 [sec]
|
| # Running sched/pipe benchmark...
| # Extecuted 1000000 pipe operations between two tasks
|
|      Total time: 11.741 [sec]
|
|       11.741346 usecs/op
|           85169 ops/sec
|
| # Running mem/memcpy benchmark...
| # Copying 1MB Bytes from 0x7ff33e920010 to 0x7ff3401ae010 ...
|
|      808.407437 MB/Sec

Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1260691319-4683-1-git-send-email-mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-12-14 08:51:19 +01:00
..
bench perf bench: Add "all" pseudo subsystem and "all" pseudo suite 2009-12-14 08:51:19 +01:00
Documentation perf kmem: Show usage if no option is specified 2009-12-10 08:30:27 +01:00
scripts/perl perf trace/scripting: Add Fedora libperl install note to doc 2009-11-30 09:04:01 +01:00
util perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
.gitignore perf tools: Add perf.data to .gitignore 2009-11-24 16:37:01 +01:00
builtin-annotate.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-bench.c perf bench: Add "all" pseudo subsystem and "all" pseudo suite 2009-12-14 08:51:19 +01:00
builtin-buildid-list.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-help.c perf tools: Introduce zalloc() for the common calloc(1, N) case 2009-11-24 16:37:02 +01:00
builtin-kmem.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-list.c
builtin-probe.c perf probe: Support --del option 2009-12-09 07:26:53 +01:00
builtin-record.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-report.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-sched.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-stat.c perf stat: Do not print ratio when task-clock event is not counted 2009-11-15 15:25:50 +01:00
builtin-timechart.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin-top.c perf tools: Consolidate symbol resolving across all tools 2009-11-27 20:22:02 +01:00
builtin-trace.c perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
builtin.h perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
command-list.txt perf kmem: Add help file 2009-11-24 08:49:51 +01:00
CREDITS
design.txt perf_event: Add alignment-faults and emulation-faults software events 2009-10-28 16:13:03 +11:00
Makefile perf tools: Introduce perf_session class 2009-12-12 07:42:12 +01:00
perf.c perf: Add 'perf kmem' tool 2009-11-20 09:51:41 +01:00
perf.h perf tools: Allow building for ARM 2009-12-11 13:50:21 +01:00