ctags-lang-systemtap(7)

πŸ“¦ version 6.2.1, in ubuntu resolute, ubuntu stonking

πŸ’… 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 probe kind πŸ‘‘

(the glow-up is real)


πŸŽ€ SEE ALSO πŸŽ€


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