This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: PATCH: stap fails if !CONFIG_FRAME_POINTER && !CONFIG_UTRACE
On Wed, 2010-06-09 at 21:46 -0700, Tony Jones wrote:
> On Thu, Jun 10, 2010 at 06:57:55AM +0530, Srikar Dronamraju wrote:
> > If I am right Frank added this autoconf to differentiate embedded
> > uprobes with uprobes thats not part of systemtap.
>
> Sure but right now, stap fails. The above patch fixes it. Changing
> "#ifdef STAPCONF_UPROBE_GET_PC" in stack-{i386, x86_64}.c to something
> that is also guarded on CONFIG_UTRACE will similarly solve the issue.
If this is supposed to be a test for the built-in uprobes from
systemtap, then that makes sense because that version does indeed depend
on CONFIG_UTRACE.
I must admit that I am slightly confused how/why
#if defined(CONFIG_UPROBES) || defined(CONFIG_UPROBES_MODULE)
succeeds in that case though. How gets that defined if utrace isn't
there?
Cheers,
Mark