Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-11 Thread Stephane Eranian
On Fri, Jan 11, 2013 at 2:31 PM, Jiri Olsa wrote: > On Thu, Jan 10, 2013 at 10:53:26PM +0100, Stephane Eranian wrote: >> On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa wrote: >> > On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: > > SNIP > >> > >> > The crash I report is due to the

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-11 Thread Jiri Olsa
On Thu, Jan 10, 2013 at 10:53:26PM +0100, Stephane Eranian wrote: > On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa wrote: > > On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP > > > > The crash I report is due to the some maps could be removed > > via

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-11 Thread Jiri Olsa
On Thu, Jan 10, 2013 at 10:53:26PM +0100, Stephane Eranian wrote: On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa jo...@redhat.com wrote: On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP The crash I report is due to the some maps could be removed via

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-11 Thread Stephane Eranian
On Fri, Jan 11, 2013 at 2:31 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Jan 10, 2013 at 10:53:26PM +0100, Stephane Eranian wrote: On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa jo...@redhat.com wrote: On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP The crash I

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-10 Thread Stephane Eranian
On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa wrote: > On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: > > SNIP > >> >> +static void ip__resolve_data(struct machine *self, struct thread *thread, >> + u8 m, >> + struct addr_map_symbol

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-10 Thread Stephane Eranian
On Wed, Jan 9, 2013 at 5:55 PM, Jiri Olsa jo...@redhat.com wrote: On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP +static void ip__resolve_data(struct machine *self, struct thread *thread, + u8 m, + struct

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-09 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP > > +static void ip__resolve_data(struct machine *self, struct thread *thread, > + u8 m, > + struct addr_map_symbol *ams, > + u64 addr) > +{ > +

Re: [PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-09 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 07:27:50PM +0100, Stephane Eranian wrote: SNIP +static void ip__resolve_data(struct machine *self, struct thread *thread, + u8 m, + struct addr_map_symbol *ams, + u64 addr) +{ + struct

[PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-07 Thread Stephane Eranian
This patch adds the sorting and histogram support functions to enable profiling of memory accesses. The following sorting orders are added: - symbol_daddr: data address symbol (or raw address) - dso_daddr: data address shared object - weight: access cost - locked: access uses locked

[PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-07 Thread Stephane Eranian
This patch adds the sorting and histogram support functions to enable profiling of memory accesses. The following sorting orders are added: - symbol_daddr: data address symbol (or raw address) - dso_daddr: data address shared object - weight: access cost - locked: access uses locked