Re: [PATCH tip] perf tools: Fix a compiling problem

2015-06-17 Thread Wangnan (F)
Please note that a similar patch has been applied by Arnaldo Carvalho de Melo: http://lkml.kernel.org/r/20150616134750.gc10...@kernel.org On 2015/6/3 20:30, Namhyung Kim wrote: Hi Wang, On Wed, Jun 3, 2015 at 5:50 PM, Wang Nan wrote: Commit 4bb11d012ab248d0e383008d725be0d26a74fac2 ("perf t

Re: [PATCH tip] perf tools: Fix a compiling problem

2015-06-03 Thread Namhyung Kim
Hi Wang, On Wed, Jun 3, 2015 at 5:50 PM, Wang Nan wrote: > Commit 4bb11d012ab248d0e383008d725be0d26a74fac2 ("perf tools: Add > dso__data_get/put_fd()") has a problem: it uses a undefined variable > 'dso' in find_proc_info(), which should be 'map->dso'. The buggy code > piece is not compiled if NO

[PATCH tip] perf tools: Fix a compiling problem

2015-06-03 Thread Wang Nan
Commit 4bb11d012ab248d0e383008d725be0d26a74fac2 ("perf tools: Add dso__data_get/put_fd()") has a problem: it uses a undefined variable 'dso' in find_proc_info(), which should be 'map->dso'. The buggy code piece is not compiled if NO_LIBUNWIND_DEBUG_FRAME is not set. Signed-off-by: Wang Nan --- t