Namhyung Kim
27fafab59a
perf report: Add -q/--quiet option
...
The -q/--quiet option is to suppress any message. Sometimes users just
want to see the numbers and it can be used for that case.
Before:
$ perf report | head -15
Failed to open /lib/modules/3.19.3-3-ARCH/kernel/fs/ext4/ext4.ko.gz, continuing without symbols
Failed to open /lib/modules/3.19.3-3-ARCH/kernel/fs/jbd2/jbd2.ko.gz, continuing without symbols
Failed to open /tmp/perf-14507.map, continuing without symbols
...
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 39K of event 'cycles'
# Event count (approx.): 30444796573
#
# Overhead Command Shared Object Symbol
# ........ ........... ................... .........................
#
9.28% swapper [kernel.vmlinux] [k] intel_idle
5.64% swapper [kernel.vmlinux] [k] native_write_msr_safe
1.93% swapper [kernel.vmlinux] [k] __switch_to
1.89% swapper [kernel.vmlinux] [k] menu_select
1.75% sched-pipe [kernel.vmlinux] [k] __switch_to
After:
$ perf report -q | head
9.28% swapper [kernel.vmlinux] [k] intel_idle
5.64% swapper [kernel.vmlinux] [k] native_write_msr_safe
1.93% swapper [kernel.vmlinux] [k] __switch_to
1.89% swapper [kernel.vmlinux] [k] menu_select
1.75% sched-pipe [kernel.vmlinux] [k] __switch_to
1.67% swapper [kernel.vmlinux] [k] cpu_startup_entry
1.48% sched-pipe [kernel.vmlinux] [k] enqueue_entity
1.46% swapper [kernel.vmlinux] [k] __schedule
1.36% swapper [kernel.vmlinux] [k] native_read_tsc
1.34% sched-pipe [kernel.vmlinux] [k] __schedule
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Suggested-and-Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: kernel-team@lge.com
Link: http://lkml.kernel.org/r/20170217081742.17417-4-namhyung@kernel.org
[ Removed builtin-report.c verbose > 0 hunk added to the previous patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-02-20 11:46:58 -03:00
..
2016-07-04 20:27:27 -03:00
2015-02-12 17:53:00 -03:00
2015-04-29 10:38:06 -03:00
2013-07-08 17:37:25 -03:00
2015-08-21 11:34:10 -03:00
2016-11-11 13:18:52 -03:00
2016-03-30 11:14:09 -03:00
2012-08-13 14:55:02 -03:00
2016-10-24 11:07:41 -03:00
2016-03-18 13:57:20 -03:00
2016-07-12 00:00:39 -03:00
2013-12-09 15:21:45 -03:00
2015-10-19 16:10:25 -03:00
2016-07-04 19:39:00 -03:00
2011-12-23 17:01:03 -02:00
2017-01-20 16:52:56 -03:00
2017-02-13 14:29:37 -03:00
2016-06-28 10:54:57 -03:00
2017-02-13 14:29:38 -03:00
2016-01-08 14:23:02 -03:00
2017-01-26 11:43:01 -03:00
2016-02-05 09:46:45 -03:00
2017-01-11 16:48:01 -03:00
2016-12-01 13:03:02 -03:00
2015-06-19 18:27:13 -03:00
2016-10-03 21:35:47 -03:00
2013-10-09 11:24:01 -03:00
2016-06-15 10:35:27 -03:00
2016-09-01 09:44:14 -03:00
2017-02-17 17:32:38 -03:00
2017-02-20 11:46:58 -03:00
2017-01-17 11:36:44 -03:00
2014-10-15 17:39:02 -03:00
2014-10-15 17:39:02 -03:00
2017-01-16 14:59:15 -03:00
2017-02-17 17:31:10 -03:00
2016-06-30 18:27:45 -03:00
2014-07-10 00:22:54 +02:00
2016-12-07 12:00:35 -03:00
2017-01-11 16:48:01 -03:00
2016-09-29 11:16:44 -03:00
2015-10-05 16:36:18 -03:00
2016-09-01 09:44:13 -03:00
2016-10-05 19:51:53 -03:00