ctags-lang-systemtap(7)
π NAME π
ctags-lang-systemtap β random notes about tagging SystemTap source code with Universal Ctags β¨
okay bestie, this is the Universal Ctags manual page for the SystemTap language, section 7, and it's literally just a lil scrapbook of notes. no cap. let's get into it π«Ά
β¨ SYNOPSIS β¨
the vibes, in command form:
ctags ... --languages=+SystemTap ...
ctags ... --language-force=SystemTap ...
ctags ... --map-SystemTap=+.stp ...
that's it, that's the whole mood π
π¦ DESCRIPTION π¦
this page is a grab-bag of random notes about tagging SystemTap scripts. not a full formal spec, just the stuff you need to know, collected together. it's giving "notes app at 2am but make it useful" π
π§ Guests π§
so here's the cute part: the SystemTap parser doesn't do everything alone. it runs CPreProcessor as a guest parser on the areas surrounded by %{ and %}. like, it invites a friend over to handle that section. iconic collaboration behavior fr fr π
check it β here's input.stp:
%{
#define X 1
%}
and when you run it with --options=NONE -o - --sort=no --extras=+{guest} input.stp, the output.tags comes out looking like:
X input.stp /^#define X /;" d file:
look at that. X got tagged, the guest parser did its lil thing, slay π₯
π VERSIONS π
β Change since 0.0 β
- new role attached for
probekind π
(the glow-up is real)
π SEE ALSO π
ctags(1)- SystemTap Language Reference
<https://sourceware.org/systemtap/langref>(<https://sourceware.org/systemtap/langref/>)
okay that's the whole page, bestie π this was Universal Ctags version 6.2.1 doing the lord's work, and yeah β it's ctags-lang-systemtap(7), we been knew. go tag something cute π¦β¨
π¦ where this page comes from
- ubuntu resolute: universal-ctags 6.2.1-1 Β· GPL-2.0-or-later
- ubuntu stonking: universal-ctags 6.2.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms