Re: [PATCH 06/10] perf probe: Check if dwarf_getlocations() is available

2016-05-13 Thread Arnaldo Carvalho de Melo
Em Fri, May 13, 2016 at 11:38:52AM +0900, Masami Hiramatsu escreveu: > On Thu, 12 May 2016 17:03:51 -0300 > Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > If not, tell the user that: > > > > config/Makefile:273: Old libdw.h, finding variables at given 'perf prob

Re: [PATCH 06/10] perf probe: Check if dwarf_getlocations() is available

2016-05-12 Thread Masami Hiramatsu
On Thu, 12 May 2016 17:03:51 -0300 Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > If not, tell the user that: > > config/Makefile:273: Old libdw.h, finding variables at given 'perf probe' > point will not work, install elfutils-devel/libdw-dev >= 0.157 > > And return

[PATCH 06/10] perf probe: Check if dwarf_getlocations() is available

2016-05-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo If not, tell the user that: config/Makefile:273: Old libdw.h, finding variables at given 'perf probe' point will not work, install elfutils-devel/libdw-dev >= 0.157 And return -ENOTSUPP in die_get_var_range(), failing features that need it, like the one pointed