TTTRACEFILE(4)
β¨ NAME β¨
tttracefile β script of settings for ToolTalk tracing. Okay so this is the tttracefile(special file) manual page, bestie, and it's literally giving βtiny config script that tells ToolTalk what to traceβ main character energy. π
π¦ SYNOPSIS π¦
tttracefile
π DESCRIPTION π
A tttrace script contains settings that control ToolTalk calls and messages. A tttrace script consists of commands separated by semicolons or newlines. The first command must be the version command β like, no cap, it has to open the show. β¨
π Commands π
If conflicting values are given for a setting, the last value wins β that's the vibe check. π
version nβ the version of thetttracefilecommand syntax used. The current version is1.follow [off | on]β sets whether to follow all children forked by the traced client or subsequently started in the traced session. Default isoff.[> | >>] outfileβ file to be used for the trace output. By default, trace output goes to standard error. Normalsh(1)interpretation of>and>>applies.functions [all | none | func...]β ToolTalk API functions to trace.funcmay includesh(1)wildcard characters. Default isall.attributes [all | none]βnonemeans use only a single line when printing a message on the trace output.allmeans print all attributes, arguments, and context slots of traced messages. Default isnone.states [none | edge | deliver | dispatch | Tt_state]...β state(s) through which to trace messages. In addition to theTt_statesdefined intt_c.h, valid states are:noneβ disable all message tracingedgeβ messages entering initial (TT_SENT) and final (TT_HANDLED,TT_FAILED) states.deliverβ all state changes and all client deliveries.dispatchβdeliver+ all patterns considered for matching. (default)
ops toTrace...β trace messages that havetoTraceas a value for the indicated message attribute.sender_ptypes toTrace...β trace messages that havetoTraceas a value for the indicated message attribute.handler_ptypes toTrace...β trace messages that havetoTraceas a value for the indicated message attribute.
For those three: toTrace may include sh(1) wildcard characters. If no toTrace argument is included for a given message attribute, then no value of that attribute excludes a message from tracing.
π©· Comments π©·
A word beginning with # causes that word and all the following characters up to a newline to be ignored. Iconic comment behavior, honestly. π«Ά
π EXAMPLES π
To trace all attribute-getting and -setting messages sent by ptype starting with "Dt":
version 1 ops Get* Set* sender_ptypes Dt*
To trace only ToolTalk function calls (but not messages) in a process tree:
version 1; follow on; states none
π SEE ALSO π
ttsession(1), tttrace(1), the Session_Trace() ToolTalk request. Go read those too, iykyk. π¦
π That's the whole page, bestie! Footer sign-off: the source/version line is tttracefile(special file) β and there's literally no date printed on this page, so I'm not inventing one, periodt. π«Ά
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms