WESTON-DEBUG(1)
π WESTON-DEBUG π
okay so bestie, this is the weston-debug manual page, from the General Commands Manual section β it's a tool for getting debug messages from the compositor, and honestly? it's giving backstage pass energy π
β¨ NAME β¨
weston-debug β a tool for getting debug messages from compositor π«Ά
πΈ SYNOPSIS πΈ
weston-debug [options] [names]
π¦ DESCRIPTION π¦
so weston-debug is a debugging tool that uses the weston_debug_v1 interface to get the debug messages from the compositor. and here's the tea: the compositor sorts those debug messages into different debug streams (think logs, proto, list, etc., π
) and the compositor requires a file descriptor to actually stream the messages out. no fd, no vibes. periodt.
this tool takes a file name or a file descriptor (not both, bestie β pick a lane π) plus any debug stream names you want, straight from your command line arguments, and it subscribes the streams you asked for from the compositor using that weston_debug_v1 interface. once the subscription goes through, the compositor starts writing the debug messages to the shared file descriptor. iconic behavior tbh π
and if you give it no file name and no file descriptor argument at all? don't stress β it just uses the stdout file descriptor. main character default energy β¨
π OPTIONS π
weston-debug accepts the following command line options, and yes we're going through all of them:
-h,--helpβ prints the help text and exits with success. respectful, courteous, a little legend π-l,--listβ lists all the available debug streams that the compositor supports. lowkey the vibe check of this whole tool. ngl you can use this together with--allor with a list of debug stream names π-a,--allβ binds all the debug streams the compositor is offering. no stream left behind fr fr. heads up though: it's mutually exclusive with explicitly specifying stream names π-o FILE,--output FILEβ sends the output to the file named FILE. use-forstdout. andstdoutis the default, so if you don't specify it you already know. mutually exclusive with-fβ you simply cannot have both, bestie π-f FD,--outfd FDβ sends the output to the file descriptor FD.stdout(1) is the default. mutually exclusive with-oβ again, one or the other, no cheating π[names]β a list of debug streams to bind to. mutually exclusive with--all. that's it, that's the whole thing π¦
ok so the biggest warning here:-o/--outputand-f/--outfdare mutually exclusive, and--alland[names]are mutually exclusive. the tool literally wants a file name or a file descriptor, not both. don't make it choose, it will absolutely be dramatic about it π
π SEE ALSO π
there are no SEE ALSO references on this page, bestie β this one stands on its own, solo main character style π
and that's the whole page!! this beauty is from Weston 16.0.0, dated 2018-09-11 β yeah she's a little vintage, and she ate anyway πβ¨ thanks for reading, ily, go bind some streams π«Ά
π¦ where this page comes from
- nixpkgs unstable: weston 16.0.0
- ubuntu stonking: weston 16.0.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms