This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH -tip] perf probe: Don't compile CFI related code if elfutils is old


On Mon, 2010-05-10 at 15:19 -0400, Masami Hiramatsu wrote:
> Hm, I'd like to add just '#ifndef _ELFUTILS_PREREQ;#error;#endif' to
> NO_DWARF checking in Makefile, because it's easier to expand to another
> API dependency.

You might want to check systemtap/dwarf-wrappers.h which handles missing
_ELFUTILS_PREREQ, so you can use it as if it is always defined. That
said, 0.138 is pretty old (latest is 0.147), so just requiring something
fresh might not be a bad thing.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]