dynevent_arg_add(9)
πΈ NAME πΈ
hey bestie, welcome to the dynevent_arg_add(9) manual page from the Kernel API Manual β¨
dynevent_arg_add β Add an arg to a dynevent_cmd π
β¨ SYNOPSIS β¨
int dynevent_arg_add (struct dynevent_cmd *cmd , struct dynevent_arg
*arg , dynevent_check_arg_fn_t check_arg );
π ARGUMENTS π
cmdβ A pointer to thedynevent_cmdstruct representing the new event cmd. literally the main character struct here πargβ The argument to append to the currentcmd. this is the little string bestie getting added π¦check_argβ An (optional) pointer to a function checkingargsanity. optional, but if it's there it's doing a vibe check on your arg π
π§ DESCRIPTION π§
okay so here's the tea: this function appends an argument to a dynevent_cmd. the argument string will be appended to the current cmd string, followed by a separator, if applicable. before the argument is added, the check_arg function, if present, will be used to check the sanity of the current arg string. no cap, that's the whole flow π
the cmd string and separator should be set using dynevent_arg_init before any arguments are added using this function. like, set it up first bestie, that's the assignment π
β RETURN β
0 if successful, error otherwise. slay when it's 0, and if it's an error, welp π
π SEE ALSO π
Kernel file ./kernel/trace/trace_dynevent.c dynevent_arg_pair_add(9), dynevent_str_add(9), dynevent_cmd_init(9), dynevent_arg_init(9), dynevent_arg_pair_init(9), dynevent_create(9) β go read these next, bestie, iykyk π₯
okay that's the whole page, mwah π β source/version ./kernel/trace, dated October 2026, and it's the dynevent_arg_add(9) manual, periodt π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms