This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: request to add arch dir to stap include_path
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Kevin Stafford <kevinrs at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 07 Dec 2005 18:49:03 -0500
- Subject: Re: request to add arch dir to stap include_path
- References: <43976B82.5070709@us.ibm.com>
kevinrs wrote:
> [...] However I can foresee probe script code becoming difficult to
> manage (or at least ugly) if entangled between a lot of 'ifdefs'.
> [...]
That's true (though the dual entanglement can exist if code needs to
be shared between multiple architectures).
> [... let's let] (arch specific) tapset code [be] able to be placed
> in tapset/arch/ directory
> (eg. SYSTEMTAP_TAPSET=$SRCDIR/tapset/arch/`uname -i`/*.stp)
I guess this could compose with the existing kernel-version-sensitive
search path, just have to pick whether it should go before or after
the version subdirectories. Kevin, if you would like to try it out,
go ahead. You'll need to change main.cxx, search for
"version_suffixes".
- FChE