Re: [PATCH tip 3/5] perf report: Make the output more compact

From: Arnaldo Carvalho de Melo
Date: Sat Jul 11 2009 - 11:32:05 EST


Em Sat, Jul 11, 2009 at 12:18:35PM -0300, Arnaldo Carvalho de Melo escreveu:
> When we filter by column content we may end up with a column that has the same
> value for all the lines. So remove that column and tell its unique value on the
> top, as a comment.
>
> Example:

Grr, it should have been:

> [acme@doppio pahole]$ perf report --sort comm,dso,symbol -d ./build/libdwarves.so.1.0.0 -C pahole | head -15
# dso: ./build/libdwarves.so.1.0.0
# comm: pahole
# Samples: 58409
#
# Overhead Symbol
# ........ ......
#
> 20.93% [.] tag__recode_dwarf_type
> 14.94% [.] namespace__recode_dwarf_types
> 10.38% [.] cu__table_add_tag
> 6.69% [.] __die__process_tag
> 5.05% [.] die__process_function
> 4.70% [.] list__for_all_tags
> 3.68% [.] tag__init
> 3.48% [.] die__create_new_parameter
> [acme@doppio pahole]$

Forgot to add a space before the hashes...

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/