Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 05, 2013 at 07:33:20AM -0700, David Ahern escreveu: > On 12/5/13, 6:50 AM, Arnaldo Carvalho de Melo wrote: > >Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: > >>Perhaps there is a better way to do this; I could not think of one and > >>I don't see any field in the

Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread David Ahern
On 12/5/13, 6:50 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint that can be leveraged. So ... perf-trace autodetects the machine

Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: > Perhaps there is a better way to do this; I could not think of one and > I don't see any field in the tracepoint that can be leveraged. So ... > > perf-trace autodetects the machine type (e.g., i386, x86_64, etc) via > libaudit.

Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint that can be leveraged. So ... perf-trace autodetects the machine type (e.g., i386, x86_64, etc) via libaudit. And

Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread David Ahern
On 12/5/13, 6:50 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint that can be leveraged. So ... perf-trace autodetects the machine

Re: [PATCH 4/4] perf trace: Add option to specify machine type

2013-12-05 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 05, 2013 at 07:33:20AM -0700, David Ahern escreveu: On 12/5/13, 6:50 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Dec 04, 2013 at 07:41:42PM -0700, David Ahern escreveu: Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint

[PATCH 4/4] perf trace: Add option to specify machine type

2013-12-04 Thread David Ahern
Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint that can be leveraged. So ... perf-trace autodetects the machine type (e.g., i386, x86_64, etc) via libaudit. When running 32-bit apps on a 64-bit kernel the wrong machine type is used

[PATCH 4/4] perf trace: Add option to specify machine type

2013-12-04 Thread David Ahern
Perhaps there is a better way to do this; I could not think of one and I don't see any field in the tracepoint that can be leveraged. So ... perf-trace autodetects the machine type (e.g., i386, x86_64, etc) via libaudit. When running 32-bit apps on a 64-bit kernel the wrong machine type is used