RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-27 Thread Liang, Kan
> > On Mon, Aug 24, 2015 at 09:30:21PM +0200, Jiri Olsa wrote: > > On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: > > > > > > > > > > On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: > > > > > > > > > > > > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > >

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-27 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 09:30:21PM +0200, Jiri Olsa wrote: > On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: > > > > > > > On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: > > > > > > > > > > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > > > > > > > > >

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-27 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 09:30:21PM +0200, Jiri Olsa wrote: On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-27 Thread Liang, Kan
On Mon, Aug 24, 2015 at 09:30:21PM +0200, Jiri Olsa wrote: On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: > > > > On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: > > > > > > > > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > > > > > > > SNIP > > > > > > > > > > > > > > > > we need global topology information in

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
> On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: > > > > > > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > > > > > SNIP > > > > > > > > > > > > > we need global topology information in perf.data and use the > > > > > mapping from there, we can't use current server

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: > > > > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > > > SNIP > > > > > > > > > > we need global topology information in perf.data and use the mapping > > > > from there, we can't use current server info > > > > > >

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
> > On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: > > SNIP > > > > > > > we need global topology information in perf.data and use the mapping > > > from there, we can't use current server info > > > > > > we currently store core_siblings_list and thread_siblings_list, in > > >

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently store

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently store core_siblings_list and thread_siblings_list, in topology FEATURE, which is

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Jiri Olsa
On Mon, Aug 24, 2015 at 04:47:12PM +, Liang, Kan wrote: On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-23 Thread Jiri Olsa
On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP > > > > we need global topology information in perf.data and use the mapping > > from there, we can't use current server info > > > > we currently store core_siblings_list and thread_siblings_list, in topology > > FEATURE, which

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-23 Thread Jiri Olsa
On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently store core_siblings_list and thread_siblings_list, in topology FEATURE, which is probably

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-21 Thread Liang, Kan
> On Tue, Aug 18, 2015 at 05:25:38AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > This patch enable perf report to sort by socket > > > > SNIP > > > diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index > > 7e38716..245e254 100644 > > --- a/tools/perf/util/sort.c

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-21 Thread Liang, Kan
On Tue, Aug 18, 2015 at 05:25:38AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com This patch enable perf report to sort by socket SNIP diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 7e38716..245e254 100644 ---

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-20 Thread Jiri Olsa
On Tue, Aug 18, 2015 at 05:25:38AM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > This patch enable perf report to sort by socket > SNIP > diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c > index 7e38716..245e254 100644 > --- a/tools/perf/util/sort.c > +++

Re: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-20 Thread Jiri Olsa
On Tue, Aug 18, 2015 at 05:25:38AM -0400, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com This patch enable perf report to sort by socket SNIP diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 7e38716..245e254 100644 --- a/tools/perf/util/sort.c +++

[PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-18 Thread kan . liang
From: Kan Liang This patch enable perf report to sort by socket $ perf report --stdio --sort socket,comm,dso,symbol # To display the perf.data header info, please use --header/--header-only options. # # # Total Lost Samples: 0 # # Samples: 686 of event 'cycles' # Event count (approx.):

[PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-18 Thread kan . liang
From: Kan Liang kan.li...@intel.com This patch enable perf report to sort by socket $ perf report --stdio --sort socket,comm,dso,symbol # To display the perf.data header info, please use --header/--header-only options. # # # Total Lost Samples: 0 # # Samples: 686 of event 'cycles' #