request to add arch dir to stap include_path

Frank Ch. Eigler fche@redhat.com
Wed Dec 7 23:49:00 GMT 2005


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



More information about the Systemtap mailing list