Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 24, 2014 at 05:58:44PM +0200, Jiri Olsa escreveu: > On Fri, Jul 25, 2014 at 12:41:15AM +0900, Namhyung Kim wrote: > > On Thu, Jul 24, 2014 at 11:49 PM, Jiri Olsa wrote: > > > On Thu, Jul 24, 2014 at 10:57:47AM -0300, Arnaldo Carvalho de Melo wrote: > > >> Em Thu, Jul 24, 2014 at 02:57:

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Jiri Olsa
On Fri, Jul 25, 2014 at 12:41:15AM +0900, Namhyung Kim wrote: > Hi guys, > > On Thu, Jul 24, 2014 at 11:49 PM, Jiri Olsa wrote: > > On Thu, Jul 24, 2014 at 10:57:47AM -0300, Arnaldo Carvalho de Melo wrote: > >> Em Thu, Jul 24, 2014 at 02:57:51PM +0200, Jiri Olsa escreveu: > >> > On Wed, Jul 09, 2

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Namhyung Kim
On Thu, Jul 24, 2014 at 9:47 PM, Jiri Olsa wrote: > On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: >> Set column width and do not change it if user gives -w/--column-widths >> option. It'll truncate longer symbols than the width if exists. > > SNIP > >> >> static inline void advan

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Namhyung Kim
Hi guys, On Thu, Jul 24, 2014 at 11:49 PM, Jiri Olsa wrote: > On Thu, Jul 24, 2014 at 10:57:47AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Thu, Jul 24, 2014 at 02:57:51PM +0200, Jiri Olsa escreveu: >> > On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: >> > > Set column width and d

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Jiri Olsa
On Thu, Jul 24, 2014 at 10:57:47AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jul 24, 2014 at 02:57:51PM +0200, Jiri Olsa escreveu: > > On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: > > > Set column width and do not change it if user gives -w/--column-widths > > > option. It'

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 24, 2014 at 02:57:51PM +0200, Jiri Olsa escreveu: > On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: > > Set column width and do not change it if user gives -w/--column-widths > > option. It'll truncate longer symbols than the width if exists. > > SNIP > > > --- a/tools/

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Jiri Olsa
On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: > Set column width and do not change it if user gives -w/--column-widths > option. It'll truncate longer symbols than the width if exists. SNIP > --- a/tools/perf/util/sort.c > +++ b/tools/perf/util/sort.c > @@ -70,7 +70,9 @@ static i

Re: [PATCH 4/6] perf report: Honor column width setting

2014-07-24 Thread Jiri Olsa
On Wed, Jul 09, 2014 at 02:28:12PM +0900, Namhyung Kim wrote: > Set column width and do not change it if user gives -w/--column-widths > option. It'll truncate longer symbols than the width if exists. SNIP > > static inline void advance_hpp(struct perf_hpp *hpp, int inc) > { > diff --git a/t

[PATCH 4/6] perf report: Honor column width setting

2014-07-08 Thread Namhyung Kim
Set column width and do not change it if user gives -w/--column-widths option. It'll truncate longer symbols than the width if exists. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 23 tools/perf/ui/gtk/hists.c | 10 ++--- tools/perf/ui/hist.c | 84