Ce contenu n'est pas disponible dans la langue sélectionnée.
2.2. Elements of a Tapset
The following sections describe the most important aspects of writing a tapset. Most of the content herein is suitable for developers who wish to contribute to SystemTap's upstream library of tapsets.
2.2.1. Tapset Files
Tapset files are stored in
src/tapset/
of the SystemTap GIT directory. Most tapset files are kept at that level. If you have code that only works with a specific architecture or kernel version, you may choose to put your tapset in the appropriate subdirectory.
Installed tapsets are located in
/usr/share/systemtap/tapset/
or /usr/local/share/systemtap/tapset
.
Personal tapsets can be stored anywhere. However, to ensure that SystemTap can use them, use
-I tapset_directory
to specify their location when invoking stap
.