This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: marking tapset files
Hi -
On Fri, Oct 27, 2006 at 08:14:11AM -0700, Mike Mason wrote:
> I like the idea of adding the comment. Mechanical enforcement would be
> even better. Perhaps a keyword at the top of the file that marks it as
> part of a specific tapset. [...]
That's a possibility. Short of language extensions though, the
translator could parse the tapset scripts first, then warn about
duplication. Heck, it could even track the visited dev/inode pairs in
struct stapfile, and know if the same file has been seen twice.
- FChE