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: request to add arch dir to stap include_path


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


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