Frederic Weisbecker
cb1955b86c
perf tools: Only display parent field if explictly sorted
We don't need to display the parent field if the parent
sorting machinery is only used for parent filtering
(as in "-p foo").
However if parent filtering is used in combination with
explicit parent sorting ( -s parent), we want to
display it.
Result with:
perf report -p kernel_thread -s parent
Before:
# Overhead Parent symbol
# ........ .............
#
0.07%
|
--- ioread8
ata_sff_check_status
ata_sff_tf_load
ata_sff_qc_issue
ata_bmdma_qc_issue
ata_qc_issue
ata_scsi_translate
ata_scsi_queuecmd
scsi_dispatch_cmd
scsi_request_fn
__blk_run_queue
__make_request
generic_make_request
submit_bio
submit_bh
journal_submit_commit_record
jbd2_journal_commit_transaction
kjournald2
kthread
kernel_thread_helpe
After:
# Overhead Parent symbol
# ........ .............
#
0.07% kernel_thread_helper
|
--- ioread8
ata_sff_check_status
ata_sff_tf_load
ata_sff_qc_issue
ata_bmdma_qc_issue
ata_qc_issue
ata_scsi_translate
ata_scsi_queuecmd
scsi_dispatch_cmd
scsi_request_fn
__blk_run_queue
__make_request
generic_make_request
submit_bio
submit_bh
journal_submit_commit_record
jbd2_journal_commit_transaction
kjournald2
kthread
kernel_thread_helper
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Sam Liao <phyomh@gmail.com>
2011-06-30 00:26:49 +02:00
..
2011-01-05 12:47:31 +01:00
2011-02-07 12:41:41 -02:00
2011-04-19 08:18:36 -03:00
2011-06-30 00:24:30 +02:00
2011-01-31 12:40:52 -02:00
2010-12-25 11:29:02 -02:00
2011-06-30 00:26:41 +02:00
2011-02-18 07:43:06 -02:00
2011-05-26 13:49:57 +02:00
2010-05-17 16:22:41 -03:00
2010-06-05 09:34:04 -03:00
2011-01-04 08:08:54 +01:00
2011-03-23 19:28:58 -03:00
2011-03-15 11:10:48 -03:00
2010-05-17 16:22:41 -03:00
2011-03-23 19:28:58 -03:00
2011-03-23 19:28:58 -03:00
2010-05-17 16:22:41 -03:00
2011-02-17 15:38:58 -02:00
2011-03-23 19:28:58 -03:00
2011-01-31 19:45:38 -02:00
2011-05-27 16:02:09 -03:00
2011-06-30 00:26:49 +02:00
2011-03-23 19:28:58 -03:00
2011-06-02 13:31:01 -03:00
2011-06-02 13:26:15 -03:00
2011-06-03 10:07:52 -03:00
2011-03-23 19:28:58 -03:00
2011-05-27 16:02:29 -03:00
2011-03-15 11:10:48 -03:00
2011-03-15 11:10:48 -03:00
2009-06-24 19:54:29 +02:00
2010-01-13 17:39:44 +01:00
2011-05-26 11:16:29 -03:00
2010-11-30 23:00:10 -02:00
2010-06-05 09:34:04 -03:00
2011-03-15 11:10:48 -03:00
2011-01-22 19:56:29 -02:00