Re: [PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-25 Thread Namhyung Kim
On Fri, Jun 23, 2017 at 11:45:24AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 23, 2017 at 02:48:27PM +0900, Namhyung Kim escreveu: > > Currently perf only searches module binaries on the canonical > > directory (/lib/modules/`uname -r`). But sometimes user needs to load > > local

Re: [PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-25 Thread Namhyung Kim
On Fri, Jun 23, 2017 at 11:45:24AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 23, 2017 at 02:48:27PM +0900, Namhyung Kim escreveu: > > Currently perf only searches module binaries on the canonical > > directory (/lib/modules/`uname -r`). But sometimes user needs to load > > local

Re: [PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:27PM +0900, Namhyung Kim escreveu: > Currently perf only searches module binaries on the canonical > directory (/lib/modules/`uname -r`). But sometimes user needs to load > local modules. These cannot be copied to the build-id cache since long > name (i.e. real

Re: [PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 23, 2017 at 02:48:27PM +0900, Namhyung Kim escreveu: > Currently perf only searches module binaries on the canonical > directory (/lib/modules/`uname -r`). But sometimes user needs to load > local modules. These cannot be copied to the build-id cache since long > name (i.e. real

[PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-22 Thread Namhyung Kim
Currently perf only searches module binaries on the canonical directory (/lib/modules/`uname -r`). But sometimes user needs to load local modules. These cannot be copied to the build-id cache since long name (i.e. real path) of DSOs was not set. This patch fixes the problem by adding a new

[PATCH/RFC 9/9] perf record: Add --module-dir option

2017-06-22 Thread Namhyung Kim
Currently perf only searches module binaries on the canonical directory (/lib/modules/`uname -r`). But sometimes user needs to load local modules. These cannot be copied to the build-id cache since long name (i.e. real path) of DSOs was not set. This patch fixes the problem by adding a new