CTAGS-LANG-SYSTEMTAP(7) Universal Ctags CTAGS-LANG-SYSTEMTAP(7)

ctags-lang-systemtap - Random notes about tagging SystemTap source code with Universal Ctags

ctags ... --languages=+SystemTap ...
ctags ... --language-force=SystemTap ...
ctags ... --map-SystemTap=+.stp ...

This man page gathers random notes about tagging SystemTap scripts.

The SystemTap parser runs CPreProcessor as a guest parser on the areas surrounded by %{ and %}.

"input.stp"

%{
#define X 1
%}

"output.tags" with "--options=NONE -o - --sort=no --extras=+{guest} input.stp"

X       input.stp       /^#define X /;" d       file:

New role attached for probe kind

ctags(1), SystemTap Language Reference (https://sourceware.org/systemtap/langref/)

6.1.0